Jenkinsfile: add mail pipeline
Some checks failed
dotfiles/pipeline/head There was a failure building this commit

This commit is contained in:
Johannes Rothe 2021-08-31 17:03:36 +02:00
parent e05ce6a5f9
commit c026f7ef38

4
Jenkinsfile vendored
View File

@ -9,8 +9,8 @@ pipeline {
} }
} }
post { post {
always { failure {
emailext body: 'Please check why ${env.BUILD_TAG} failed! [${env.BUILD_URL}]', subject: 'Build FAILED! ${env.BUILD_TAG}', recipientProviders: [[$class: 'DevelopersRecipientProvider']] emailext body: 'Please check why $BUILD_TAG failed! See $BUILD_URL', subject: 'Build #$BUILD_NUMBER - $BUILD_STATUS', recipientProviders: [developers(), requestor()]
} }
} }
} }