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
4923c84638
commit
13968ed141
1 changed files with 10 additions and 10 deletions
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
|
@ -18,20 +18,20 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
steps {
|
steps {
|
||||||
echo 'Deploy'
|
echo 'Deployed Successfully'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
success {
|
success {
|
||||||
mail to: 'mnezam.31@gmail.com',
|
mail to: 'mnezam.31@gmail.com',
|
||||||
subject: "Successful Pipeline",
|
subject: "Successfull Build: ${currentBuild.fullDisplayName}",
|
||||||
body: "Your tests worked accordingly!"
|
body: "The following was successfully built ${env.BUILD_URL}"
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
mail to: 'mnezam.31@gmail.com',
|
mail to: 'mnezam.31@gmail.com',
|
||||||
subject: "Failed Pipeline}",
|
subject: "Failed Build: ${currentBuild.fullDisplayName}",
|
||||||
body: "Something is wrong"
|
body: "Something went wrong with the following ${env.BUILD_URL}"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue