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
6bec0f21ff
commit
5f8b68e9fa
1 changed files with 10 additions and 3 deletions
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
|
@ -23,11 +23,18 @@ pipeline {
|
|||
}
|
||||
}
|
||||
post {
|
||||
always {
|
||||
success {
|
||||
mail (
|
||||
to: "mnezam.31@gmail.com",
|
||||
subject: "Success",
|
||||
body: "Build successful"
|
||||
subject: "Successful Build",
|
||||
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}"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue