mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-03-20 07:58:55 +00:00
ci: Skip testing RFC or WIP PRs
To alleviate load on the CI only test PRs that are not marked as RFC or WIP. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
64c5e3d8cb
commit
36daf9c0b0
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -4,7 +4,16 @@ pipeline{
|
||||
stage ('Master build') {
|
||||
agent { node { label 'master' } }
|
||||
stages {
|
||||
stage('Cancel older builds') {
|
||||
stage ('Check for RFC/WIP builds') {
|
||||
when {
|
||||
changeRequest comparator: 'REGEXP', title: '.*(rfc|RFC|wip|WIP).*'
|
||||
beforeAgent true
|
||||
}
|
||||
steps {
|
||||
error("Failing as this is marked as a WIP or RFC PR.")
|
||||
}
|
||||
}
|
||||
stage ('Cancel older builds') {
|
||||
steps {
|
||||
cancelPreviousBuilds()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user