mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 07:15:49 +00:00
Update Jenkinsfile
This commit is contained in:
parent
a1fea78088
commit
9ec93888c6
1 changed files with 6 additions and 10 deletions
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
|
@ -10,14 +10,10 @@ pipeline {
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
success {
|
success {
|
||||||
mail to: 'mnezam.31@gmail.com',
|
emailext body: 'A Test EMail',
|
||||||
subject: "Successfull Build: ${currentBuild.fullDisplayName}",
|
recipientProviders: [[$class: 'DevelopersRecipientProvider'],
|
||||||
body: "The following was successfully built ${env.BUILD_URL}"
|
[$class: 'RequesterRecipientProvider']],
|
||||||
}
|
subject: 'Test'
|
||||||
failure {
|
|
||||||
mail to: 'mnezam.31@gmail.com',
|
|
||||||
subject: "Failed Build: ${currentBuild.fullDisplayName}",
|
|
||||||
body: "Something went wrong with the following ${env.BUILD_URL}"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue