mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-24 00:05:48 +00:00
ehhhhh
This commit is contained in:
parent
86a120d268
commit
94bd37243f
1 changed files with 8 additions and 4 deletions
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
|
@ -35,15 +35,19 @@ pipeline {
|
||||||
|
|
||||||
// Post-build actions
|
// Post-build actions
|
||||||
post {
|
post {
|
||||||
slackSend channel: '#slack-test-channel',
|
success{
|
||||||
|
slackSend channel: '#slack-test-channel',
|
||||||
color: COLOR_MAP[currentBuild.currentResult],
|
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}"
|
message: "*${currentBuild.currentResult}:* Job ${env.JOB_NAME} build ${env.BUILD_NUMBER} by ${BUILD_USER}\n More info at: ${env.BUILD_URL}"
|
||||||
|
}
|
||||||
|
failure{
|
||||||
|
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