Merge pull request 'Jenkinsfile: add mail pipeline' (#2) from onjen/pipeline-check into master
All checks were successful
dotfiles/pipeline/head This commit looks good

Reviewed-on: #2
This commit is contained in:
onjen 2021-08-31 17:12:46 +02:00
commit 24d1a271a8

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()]
}
}
}