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
431c11a448
commit
259ec9a858
1 changed files with 0 additions and 13 deletions
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
|
@ -11,11 +11,6 @@ pipeline {
|
||||||
// send build started notifications
|
// send build started notifications
|
||||||
slackSend (color: '#FFFF00', message: "STARTED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})")
|
slackSend (color: '#FFFF00', message: "STARTED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})")
|
||||||
|
|
||||||
// send to HipChat
|
|
||||||
hipchatSend (color: 'YELLOW', notify: true,
|
|
||||||
message: "STARTED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})"
|
|
||||||
)
|
|
||||||
|
|
||||||
// send to email
|
// send to email
|
||||||
emailext (
|
emailext (
|
||||||
subject: "STARTED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]'",
|
subject: "STARTED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]'",
|
||||||
|
@ -30,10 +25,6 @@ pipeline {
|
||||||
success {
|
success {
|
||||||
slackSend (color: '#00FF00', message: "SUCCESSFUL: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})")
|
slackSend (color: '#00FF00', message: "SUCCESSFUL: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})")
|
||||||
|
|
||||||
hipchatSend (color: 'GREEN', notify: true,
|
|
||||||
message: "SUCCESSFUL: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})"
|
|
||||||
)
|
|
||||||
|
|
||||||
emailext (
|
emailext (
|
||||||
subject: "SUCCESSFUL: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]'",
|
subject: "SUCCESSFUL: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]'",
|
||||||
body: """<p>SUCCESSFUL: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]':</p>
|
body: """<p>SUCCESSFUL: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]':</p>
|
||||||
|
@ -45,10 +36,6 @@ pipeline {
|
||||||
failure {
|
failure {
|
||||||
slackSend (color: '#FF0000', message: "FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})")
|
slackSend (color: '#FF0000', message: "FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})")
|
||||||
|
|
||||||
hipchatSend (color: 'RED', notify: true,
|
|
||||||
message: "FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})"
|
|
||||||
)
|
|
||||||
|
|
||||||
emailext (
|
emailext (
|
||||||
subject: "FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]'",
|
subject: "FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]'",
|
||||||
body: """<p>FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]':</p>
|
body: """<p>FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]':</p>
|
||||||
|
|
Loading…
Reference in a new issue