Update Jenkinsfile

This commit is contained in:
Muneeb Nezameddin 2020-03-16 05:20:00 -04:00 committed by GitHub
parent 6bec0f21ff
commit 5f8b68e9fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

13
Jenkinsfile vendored
View file

@ -23,11 +23,18 @@ pipeline {
} }
} }
post { post {
always { success {
mail ( mail (
to: "mnezam.31@gmail.com", to: "mnezam.31@gmail.com",
subject: "Success", subject: "Successful Build",
body: "Build successful" body: "Build successful with the following ${env.BUILD_URL}"
)
}
failure {
mail (
to: "mnezam.31@gmail.com",
subject: "Build Failure",
body: "Build Failure has occured with the following ${env.BUILD_URL}"
) )
} }
} }