Tested in Jenkins 2.53, 2.57, and 2.46.2 – This seems to have come about during the merging of the github org folder plugin to github branch source plugin.
I've totally rebuilt from scratch 2.57 and 2.46.2 taking care to redo all configurations to ensure it was not some latent upgrade configuration problem.
Test Params:
- Open two PRs (One waiting, one merging)
- Ensure both are testing successfully (unit tests)
- Merge PR1 --> Master
- Master will rebuild. The expected behavior is PR2 will also rebuild (Merge with new master and test) — It will not.
A rescan of the org or the repo will cause Jenkins to finally rebuild PR2 with the updated master. It is almost like there is a missing rescan after push detection happening in the github branch source plugin or Branch API plugin.
I am also seeing this in different versions of Jenkins.