Closed S4ckBr closed 2 years ago
Kudos, SonarCloud Quality Gate passed!
On a PR branch old build is correctly aborted.
On the main branch, if DEFAULT_ABORT_OLD_BUILDS_ON_BRANCHES
is empty, nothing is triggered.
The old build is aborted when I set DEFAULT_ABORT_OLD_BUILDS_ON_BRANCHES='main'
.
On a new branch, nothing is triggered if DEFAULT_ABORT_OLD_BUILDS_ON_BRANCHES
is empty.
The old build is aborted when DEFAULT_ABORT_OLD_BUILDS_ON_BRANCHES
is corretly set.
Description
Abort old builds on Jenkins jobs for some branches.
This follows up on #485.
What it does:
DEFAULT_ABORT_OLD_BUILDS_ON_BRANCHES
.DEFAULT_ABORT_OLD_BUILDS_ON_BRANCHES
list is empty (the default).