forked from mirrors/0ad
Abort previous builds in pull requests
This will save precious build time by stopping the build of obsolete commits.
This commit is contained in:
@@ -18,6 +18,9 @@
|
||||
// This pipeline builds the game on Linux (with min and max supported versions of GCC and clang) and runs tests.
|
||||
|
||||
pipeline {
|
||||
// Stop previous build in pull requests, but not in branches
|
||||
options { disableConcurrentBuilds(abortPrevious: env.CHANGE_ID != null) }
|
||||
|
||||
agent none
|
||||
stages {
|
||||
stage("Setup") {
|
||||
|
||||
Reference in New Issue
Block a user