From cc4e5d323e3a8d7ba4617134e4b480ee9b345b70 Mon Sep 17 00:00:00 2001 From: Thomas Graves Date: Tue, 7 Jul 2020 08:38:34 -0500 Subject: [PATCH] Enable slack notification for Databricks build --- jenkins/Jenkinsfile.databricksnightly | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jenkins/Jenkinsfile.databricksnightly b/jenkins/Jenkinsfile.databricksnightly index 9236793286c..f7ced58e0e3 100644 --- a/jenkins/Jenkinsfile.databricksnightly +++ b/jenkins/Jenkinsfile.databricksnightly @@ -87,6 +87,11 @@ pipeline { always { script { sh "python3.6 ./jenkins/databricks/shutdown.py -c $CLUSTER_ID -t $DATABRICKS_TOKEN || true" + if (currentBuild.currentResult == "SUCCESS") { + slack("#rapidsai-spark-cicd", "Success", color: "#33CC33") + } else { + slack("#rapidsai-spark-cicd", "Failed", color: "#FF0000") + } } } }