From: Erik Brakkee Date: Sun, 25 Sep 2022 18:40:23 +0000 (+0200) Subject: mail notification X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=1155ae79ae8adc1954bbe7aea34160a3279092d8;p=utils mail notification --- diff --git a/Jenkinsfile b/Jenkinsfile index 4f5ec5fe..23c3df3d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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}" + } } }