testing slack channel override
refs DE-1351 flag=none TEST PLAN: Build Change-Id: I1c90fa22f7f64e875157bd3e589b16f7079e6274 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/302044 Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com> QA-Review: Bobby Buten <bobby.buten@instructure.com> Product-Review: Bobby Buten <bobby.buten@instructure.com> Build-Review: Bobby Buten <bobby.buten@instructure.com>
This commit is contained in:
parent
323f89e48a
commit
032ab3a0fb
|
@ -203,7 +203,7 @@ def getChangeId() {
|
|||
// =========
|
||||
|
||||
def getSlackChannel() {
|
||||
return env.GERRIT_EVENT_TYPE == 'change-merged' ? '#canvas_builds' : '#devx-bots'
|
||||
return env.SLACK_CHANNEL_OVERRIDE ?: env.GERRIT_EVENT_TYPE == 'change-merged' ? '#canvas_builds' : '#devx-bots'
|
||||
}
|
||||
|
||||
@groovy.transform.Field final static CANVAS_BUILDS_REFSPEC_REGEX = /\[canvas\-builds\-refspec=(.+?)\]/
|
||||
|
|
Loading…
Reference in New Issue