Update Jenkinsfile

This commit is contained in:
Muneeb Nezameddin 2020-03-16 04:23:45 -04:00 committed by GitHub
parent a1fea78088
commit 9ec93888c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

16
Jenkinsfile vendored
View file

@ -9,15 +9,11 @@ pipeline {
}
post {
success {
mail to: 'mnezam.31@gmail.com',
subject: "Successfull Build: ${currentBuild.fullDisplayName}",
body: "The following was successfully built ${env.BUILD_URL}"
}
failure {
mail to: 'mnezam.31@gmail.com',
subject: "Failed Build: ${currentBuild.fullDisplayName}",
body: "Something went wrong with the following ${env.BUILD_URL}"
}
success {
emailext body: 'A Test EMail',
recipientProviders: [[$class: 'DevelopersRecipientProvider'],
[$class: 'RequesterRecipientProvider']],
subject: 'Test'
}
}
}