mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-22 03:12:27 +00:00
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:
parent
43c4270289
commit
5aab82ccd2
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -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')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user