X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=Jenkinsfile;h=13ad14a6925011630fb8cd247c02a55e822e30cc;hb=HEAD;hp=4f5ec5fe6bfeeb065072d519a7b092f677143bc7;hpb=3ff86ab64fad078bd6c9441ee0bd83e9c537141d;p=utils diff --git a/Jenkinsfile b/Jenkinsfile index 4f5ec5fe..13ad14a6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -29,7 +29,7 @@ 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 "" ) @@ -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}" + } } }