From: Erik Brakkee Date: Sun, 25 Sep 2022 18:39:30 +0000 (+0200) Subject: mail notification X-Git-Url: http://wamblee.org/gitweb/?p=upnpmonitor;a=commitdiff_plain;h=cd571f7cf7e4d891fa17185fad5c0f92258cb430 mail notification --- diff --git a/Jenkinsfile b/Jenkinsfile index 2521a41..78b3a6c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,4 +25,11 @@ pipeline { } } } + post { + 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}" + } + } }