mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:05:50 +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 {
|
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}"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue