Jenkinsfile: add mail pipeline #2

Merged
onjen merged 1 commits from onjen/pipeline-check into master 2021-08-31 17:12:46 +02:00
Showing only changes of commit ba2c3b97fe - Show all commits

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