Jenkinsfile: Move slack alert to new channel

This avoids spamming #general

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2022-09-15 09:12:12 +01:00
parent 43c4270289
commit 5aab82ccd2

4
Jenkinsfile vendored
View File

@ -432,14 +432,14 @@ pipeline{
regression { regression {
script { script {
if (env.BRANCH_NAME == 'main') { 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 { fixed {
script { script {
if (env.BRANCH_NAME == 'main') { 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')
} }
} }
} }