diff --git a/Jenkinsfile b/Jenkinsfile index efc8283d6..eab55827a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,4 +21,14 @@ pipeline { } } } + + post { + success { + slackSend (color: '#00FF00', message: "SUCCESSFUL: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})") + } + + failure { + slackSend (color: '#FF0000', message: "FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})") + } + } }