Commit 44f38db5 authored by Robert Knight's avatar Robert Knight

Post Slack deployment updates to #eng-ci

Post Slack messages about client deployment events to #eng-ci. Messages
with a non-success status are also posted to #eng-frontend for
visibility.

This change is intended to reduce the amount of noise in the

Fixes https://github.com/hypothesis/playbook/issues/517
parent b615838c
...@@ -3,7 +3,11 @@ ...@@ -3,7 +3,11 @@
// `color` can be a color code or one of "good", "warning" or "danger". // `color` can be a color code or one of "good", "warning" or "danger".
// See https://www.jenkins.io/doc/pipeline/steps/slack/. // See https://www.jenkins.io/doc/pipeline/steps/slack/.
def postSlack(color, message) { def postSlack(color, message) {
slackSend channel: "#eng-ci", color: color, message: message
if (color != "good") {
// Post failures to #eng-frontend for added visibility.
slackSend channel: "#eng-frontend", color: color, message: message slackSend channel: "#eng-frontend", color: color, message: message
}
} }
// Enable concurrent builds of this project to be throttled using the // Enable concurrent builds of this project to be throttled using the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment