Update Jenkinsfile
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -83,10 +83,6 @@ pipeline {
|
|||||||
|
|
||||||
post {
|
post {
|
||||||
failure {
|
failure {
|
||||||
when {
|
|
||||||
branch 'master'
|
|
||||||
}
|
|
||||||
|
|
||||||
mail(from: "${EMAIL_ALERT_FROM}",
|
mail(from: "${EMAIL_ALERT_FROM}",
|
||||||
to: "${EMAIL_ALERT_TO}",
|
to: "${EMAIL_ALERT_TO}",
|
||||||
subject: "Jenkins build failed: ${JOB_NAME}:${BUILD_NUMBER}",
|
subject: "Jenkins build failed: ${JOB_NAME}:${BUILD_NUMBER}",
|
||||||
|
|||||||
Reference in New Issue
Block a user