Skip to content

Commit

Permalink
Don't abort in-progress master builds when a new commit is added. (Pe…
Browse files Browse the repository at this point in the history
  • Loading branch information
ajsutton authored and notlesh committed May 14, 2019
1 parent d89b2a4 commit e935536
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ def abortPreviousBuilds() {
}
}

abortPreviousBuilds()
if (env.BRANCH_NAME != "master") {
abortPreviousBuilds()
}

try {
parallel UnitTests: {
Expand Down

0 comments on commit e935536

Please sign in to comment.