mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +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:
committed by
Sebastien Boeuf
parent
55c16fecbf
commit
2e98208af5
Vendored
+11
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user