This commit is contained in:
carlitalabbe 2020-04-02 16:32:25 -04:00
parent 86a120d268
commit 94bd37243f

12
Jenkinsfile vendored
View file

@ -35,15 +35,19 @@ pipeline {
// Post-build actions
post {
slackSend channel: '#slack-test-channel',
success{
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}"
}
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}"
}
}
}