From 1155ae79ae8adc1954bbe7aea34160a3279092d8 Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Sun, 25 Sep 2022 20:40:23 +0200 Subject: [PATCH] mail notification --- Jenkinsfile | 5 +++++ 1 file changed, 5 insertions(+) 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}" + } } } -- 2.31.1