Jenkinsfile: send mail to committer on failing build
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2020-11-11 09:01:32 +01:00
parent d47c39185b
commit e0f02ef0f7
Signed by: kunsi
GPG key ID: 12E3D2136B818350

5
Jenkinsfile vendored
View file

@ -50,5 +50,10 @@ pipeline {
always {
sh 'rm -rf venv'
}
changed {
emailext body: "Check console output at ${env.BUILD_URL}",
recipientProviders: [[$class: 'DevelopersRecipientProvider'], [$class: 'RequesterRecipientProvider']],
subject: "${buildStatus}: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]'"
}
}
}