From 5aab82ccd2f24ce832635e6594514b026f6047bf Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Thu, 15 Sep 2022 09:12:12 +0100 Subject: [PATCH] Jenkinsfile: Move slack alert to new channel This avoids spamming #general Signed-off-by: Rob Bradford --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4fde7b007..d2304fd9e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -432,14 +432,14 @@ pipeline{ regression { script { if (env.BRANCH_NAME == 'main') { - slackSend (color: '#ff0000', message: '"main" branch build is now failing') + slackSend (color: '#ff0000', message: '"main" branch build is now failing', channel: '#jenkins-ci') } } } fixed { script { if (env.BRANCH_NAME == 'main') { - slackSend (color: '#00ff00', message: '"main" branch build is now fixed') + slackSend (color: '#00ff00', message: '"main" branch build is now fixed', channel: '#jenkins-ci') } } }