Skip to content

Commit

Permalink
ci(jenkins): cancel previous running builds (#2983)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Dec 6, 2019
1 parent cbc3fad commit 7af0dad
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 @@ -50,6 +50,7 @@ pipeline {
}
options { skipDefaultCheckout() }
steps {
pipelineManager([ cancelPreviousRunningBuilds: [ when: 'PR' ] ])
deleteDir()
gitCheckout(basedir: "${BASE_DIR}", githubNotifyFirstTimeContributor: true,
shallow: false, reference: "/var/lib/jenkins/.git-references/${REPO}.git")
Expand Down

0 comments on commit 7af0dad

Please sign in to comment.