I'm using Jenkins 2.159 and bitbucket-branch-source-plugin 2.4.0.
My Multibranch Pipeline Configuration is as followed:
- Discover Branches - Exclude branches that are also filed as PRs
- Discover pull requests from origin - The current pull reequest version
- Periodically scan multibranch pipeline triggers - Interval 2 minutes
Let's assume I push a Feature branch to Bitbucket which causes the BRANCH to be build.
When I create a Pull-Request on this branch the PR is also triggered as Job on Jenkins running on the same Git Commit ID.
The Problem now is, that the BRANCH Job is being disabled on Jenkins and NO Bitbucket Notification is send anymore - The Status remains on "In Progress".
Now we can't merge our Pull Requests as Bitbucket says, that there is still a Build in Progress.
This can only be solved by pushing another change to the branch so that the PR Job is getting retriggered.