-
Bug
-
Resolution: Unresolved
-
Major
-
None
I have a pipeline multibranch project, with the "Discover Branches Strategy" set to "Exclude branches that are also filed as PRs".
Now, when I create a branch, build it, then create a PR, everything works as expected (the branch is removed in jenkins, the PR is visible and in Bitbucket it references only the PR build.
But when I create a PR while the branch is still building, Bitbucket shows two builds (PR and branch) but then branch get deleted after the previous build and therefore never finishes, leading to not being able to merge the PRs in Bitbucket when all builds need to pass.
I actually do not really see a solution (maybe an option to keep the branch when it is building, or always keep it even if there is a PR just not build it or to just send Bitbucket an "OK" for the branch build in that case).
- is related to
-
JENKINS-45643 Bitbucket PRs are blocked by excluded branches not being able to report progress
- Open