X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=Jenkinsfile;h=13ad14a6925011630fb8cd247c02a55e822e30cc;hb=HEAD;hp=c9299ce7790d38496adc7f6aac0276262c972c70;hpb=3002b5ac42c75d93cb91f42ac9d1c265f158cb01;p=utils diff --git a/Jenkinsfile b/Jenkinsfile index c9299ce7..13ad14a6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,7 +15,7 @@ pipeline { steps { sh ''' export - rm -rf ~/.m2/repository/org/wamblee + #rm -rf ~/.m2/repository/org/wamblee mvn install @@ -29,14 +29,14 @@ pipeline { echo "" echo "Building site for $dir" echo "" - mvn -N -Ddistrib=/data/www/http.utils.wamblee.org/ site site:deploy + mvn -N -o -Ddistrib=/data/www/http.utils.wamblee.org/ site site:deploy echo "" echo "" ) done mvn javadoc:aggregate - rsync -a --delete target/site/apidocs/ /data/www/http.wamblee.org/apidocs/ + rsync -av --delete target/site/apidocs/ /data/www/http.wamblee.org/apidocs/ cp src/site/index.html /data/www/http.utils.wamblee.org/ @@ -49,5 +49,10 @@ pipeline { junit '**/surefire-reports/*.xml' cobertura coberturaReportFile: '**/target/site/cobertura/coverage.xml' } + changed { + mail to: "jenkins@wamblee.org", + subject: "jenkins build:${currentBuild.currentResult}: ${env.JOB_NAME}", + body: "${currentBuild.currentResult}: Job ${env.JOB_NAME}\nMore Info can be found here: ${env.BUILD_URL}" + } } }