Skip to content

Commit

Permalink
ci(jenkins): cancel previous running builds (elastic#2983)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored and simitt committed Dec 18, 2019
1 parent 91936c6 commit 1fc8b63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ pipeline {
}
options { skipDefaultCheckout() }
steps {
pipelineManager([ cancelPreviousRunningBuilds: [ when: 'PR' ] ])
deleteDir()
gitCheckout(basedir: "${BASE_DIR}")
stash allowEmpty: true, name: 'source', useDefaultExcludes: false
Expand Down

0 comments on commit 1fc8b63

Please sign in to comment.