mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-22 04:25:21 +00:00
build: Don't cancel older master builds
If a new build request for master comes in don't cancel the older builds. Cancelling older builds is very useful for PRs that are being updated but less so for a build of the master branch that has been triggered via a merge or a periodic build. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
f0a3e7c4a1
commit
e0419e988b
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -14,6 +14,7 @@ pipeline{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage ('Cancel older builds') {
|
stage ('Cancel older builds') {
|
||||||
|
when { not { branch 'master' } }
|
||||||
steps {
|
steps {
|
||||||
cancelPreviousBuilds()
|
cancelPreviousBuilds()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user