mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +00:00
Update Jenkinsfile
This commit is contained in:
parent
a1fea78088
commit
9ec93888c6
1 changed files with 6 additions and 10 deletions
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
|
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue