mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-07-07 10:15:45 +00:00
build: Alert on Slack when master build regresses or is fixed
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
55c16fecbf
commit
2e98208af5
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -126,6 +126,17 @@ pipeline{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
post {
|
||||||
|
regression {
|
||||||
|
when { branch 'master' }
|
||||||
|
slackSend (color: '#ff0000', message: '"master" branch build is now failing')
|
||||||
|
}
|
||||||
|
fixed {
|
||||||
|
when { branch 'master' }
|
||||||
|
slackSend (color: '#00ff00', message: '"master" branch build is now fixed')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def cancelPreviousBuilds() {
|
def cancelPreviousBuilds() {
|
||||||
|
Loading…
Reference in New Issue
Block a user