X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=Jenkinsfile;h=23c3df3d74552e63d3b88622dd83e0ad0d5ff510;hb=1155ae79ae8adc1954bbe7aea34160a3279092d8;hp=5970e43388897da4a372783f67106d4cd108fdc7;hpb=c3c1285feafccf0397f922e93ae5428a2cde3bbf;p=utils diff --git a/Jenkinsfile b/Jenkinsfile index 5970e433..23c3df3d 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 @@ -36,8 +36,9 @@ pipeline { 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/ ''' } @@ -48,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}" + } } }