Jenkinsfile: add mail pipeline
All checks were successful
dotfiles/pipeline/head This commit looks good

This commit is contained in:
Johannes Rothe 2021-08-31 16:55:24 +02:00
parent 8ce9f4e1ab
commit ba2c3b97fe

8
Jenkinsfile vendored
View File

@ -8,4 +8,12 @@ pipeline {
}
}
}
post {
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()]
}
fixed {
emailext body: '$BUILD_STATUS, see $BUILD_URL', subject: 'Build #$BUILD_NUMBER $PROJECT_NAME - $BUILD_STATUS!', recipientProviders: [developers(), requestor()]
}
}
}