notify noisy channel on build success / failure
refs DE-620 It can be helpful for monitoring builds after potentially breaking changes are made to have a list of build success / failure in one place. Change-Id: I5b06d3221e8292740fdcccdb4e1633f9ac30177a Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/262764 Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by: James Butters <jbutters@instructure.com> QA-Review: Aaron Ogata <aogata@instructure.com> Product-Review: Aaron Ogata <aogata@instructure.com>
This commit is contained in:
parent
5f668f50db
commit
2d7bf0e26f
|
@ -150,6 +150,12 @@ def maybeSlackSendFailure() {
|
|||
message: "${authorSegment}. Build <${getSummaryUrl()}|#${env.BUILD_NUMBER}>\n\n$extra"
|
||||
)
|
||||
}
|
||||
|
||||
slackSend(
|
||||
channel: '#canvas_builds-noisy',
|
||||
color: 'danger',
|
||||
message: "${env.JOB_NAME} <${getSummaryUrl()}|#${env.BUILD_NUMBER}> failed. Patchset <${env.GERRIT_CHANGE_URL}|#${env.GERRIT_CHANGE_NUMBER}>."
|
||||
)
|
||||
}
|
||||
|
||||
def maybeSlackSendSuccess() {
|
||||
|
@ -160,6 +166,12 @@ def maybeSlackSendSuccess() {
|
|||
message: "Patchset <${env.GERRIT_CHANGE_URL}|#${env.GERRIT_CHANGE_NUMBER}> succeeded on re-trigger. Build <${getSummaryUrl()}|#${env.BUILD_NUMBER}>"
|
||||
)
|
||||
}
|
||||
|
||||
slackSend(
|
||||
channel: '#canvas_builds-noisy',
|
||||
color: 'good',
|
||||
message: "${env.JOB_NAME} <${getSummaryUrl()}|#${env.BUILD_NUMBER}> succeeded. Patchset <${env.GERRIT_CHANGE_URL}|#${env.GERRIT_CHANGE_NUMBER}>."
|
||||
)
|
||||
}
|
||||
|
||||
def maybeSlackSendRetrigger() {
|
||||
|
|
Loading…
Reference in New Issue