Update Jenkinsfile

This commit is contained in:
Firassawan 2020-03-09 17:28:19 -04:00 committed by GitHub
parent d855a08237
commit 57a96e6fdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

11
Jenkinsfile vendored
View file

@ -22,11 +22,10 @@ pipeline {
} }
} }
} post { } post {
success { failure {
mail to:"firassawan@icloud.com", subject:"SUCCESS: ${currentBuild.fullDisplayName}", body: "Yay, we passed." mail to: 'firassawan@icloud.com',
} subject: "Failed Pipeline: ${currentBuild.fullDisplayName}",
failure { body: "Something is wrong with ${env.BUILD_URL}"
mail to:"firassawan@icloud.com", subject:"FAILURE: ${currentBuild.fullDisplayName}", body: "Boo, we failed." }
}
} }
} }