mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:25:49 +00:00
added slakc notifications
This commit is contained in:
parent
00d58ba676
commit
86a120d268
1 changed files with 14 additions and 0 deletions
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
|
@ -32,4 +32,18 @@ pipeline {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Post-build actions
|
||||||
|
post {
|
||||||
|
slackSend channel: '#slack-test-channel',
|
||||||
|
color: COLOR_MAP[currentBuild.currentResult],
|
||||||
|
message: "*${currentBuild.currentResult}:* Job ${env.JOB_NAME} build ${env.BUILD_NUMBER} by ${BUILD_USER}\n More info at: ${env.BUILD_URL}"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue