-
New Feature
-
Resolution: Duplicate
-
Major
This ticket is to request functionality to abort ongoing builds of PR if new change to the same PR was submitted, similarly like is done in the gerrit-trigger-plugin (see: https://github.com/jenkinsci/gerrit-trigger-plugin/pull/326).
I couldn't find a way to configure this with the current latest version (2.2.3) of the Bitbucket Branch Source Plugin, but I believe that this function is quite key as it is kind of pointless to keep testing an outdated PR once the code in it was changed, so there should be an option to, in the case of a PR code update (changed or new commits), current and queued job(s) for that PR should be aborted and only the job testing the last changes should run.
- is related to
-
JENKINS-43132 Cancel existing job if the new job is pending
- Resolved
-
JENKINS-32997 Pipeline job: Abort older builds which are running
- Resolved
-
JENKINS-38409 Cancel ongoing testing of current PR if the PR gets updated with new/changed commits
- Resolved
-
JENKINS-43353 Ability to abort all previous running builds
- Resolved