From 86a120d268cb4d7030f59af0e7ef7dc778945fd8 Mon Sep 17 00:00:00 2001 From: carlitalabbe Date: Thu, 2 Apr 2020 16:22:39 -0400 Subject: [PATCH] added slakc notifications --- Jenkinsfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 8b110aaa8..08e73aa4f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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}" + + } + + + + } + +