mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-24 08:05:50 +00:00
Added email notifications
This commit is contained in:
parent
cfa55f742b
commit
daacead0e4
1 changed files with 12 additions and 0 deletions
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
|
@ -29,4 +29,16 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
post {
|
||||||
|
failure {
|
||||||
|
mail to: 'larat248@gmail.com',
|
||||||
|
subject: "Failed Pipeline: ${currentBuild.fullDisplayName}",
|
||||||
|
body: "Something is wrong with ${env.BUILD_URL}"
|
||||||
|
}
|
||||||
|
success{
|
||||||
|
mail to: 'larat248@gmail.com',
|
||||||
|
subject: "Success Pipeline: ${currentBuild.fullDisplayName}",
|
||||||
|
body: "Everything is good ${env.BUILD_URL}"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue