mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 07:45:49 +00:00
Update pipeline to send email confirmation for build
This commit is contained in:
parent
cf2fe6f871
commit
19b0f13346
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -28,7 +28,7 @@ pipeline {
|
||||||
subject: "Succeeded Pipeline: ${currentBuild.fullDisplayName}",
|
subject: "Succeeded Pipeline: ${currentBuild.fullDisplayName}",
|
||||||
body: "Email Notification: The build has successfully completed ${env.BUILD_URL}"
|
body: "Email Notification: The build has successfully completed ${env.BUILD_URL}"
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
mail to: 'firassawan@icloud.com',
|
mail to: 'firassawan@icloud.com',
|
||||||
subject: "Failed Pipeline: ${currentBuild.fullDisplayName}",
|
subject: "Failed Pipeline: ${currentBuild.fullDisplayName}",
|
||||||
body: "Email Notification: The build has not completed successfully ${env.BUILD_URL}"
|
body: "Email Notification: The build has not completed successfully ${env.BUILD_URL}"
|
||||||
|
|
Loading…
Reference in a new issue