Skip to content

Commit

Permalink
Enable slack notification for Databricks build (NVIDIA#328)
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Graves <[email protected]>
  • Loading branch information
tgravescs and tgravescs authored Jul 7, 2020
1 parent 99e85b9 commit d7c63e5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions jenkins/Jenkinsfile.databricksnightly
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
}
}
Expand Down

0 comments on commit d7c63e5

Please sign in to comment.