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