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 f0ecb173ac

4
Jenkinsfile vendored
View File

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