Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-35674

Pull requests not rebuilt when destination commit changes

      When there is a pull request from feature branch to master branch and someone else either commits something directly to master or merges another pull request, the pull request is not rebuilt - bitbucket-branch-source plugin only checks PR HEAD, but not its destination. PR should be rebuilt when either HEAD or DESTINATION changes.

          [JENKINS-35674] Pull requests not rebuilt when destination commit changes

          Sean Flanigan added a comment -

          Note that this behaviour wouldn't work for everyone, because it can trigger build storms: JENKINS-37491.

          Sean Flanigan added a comment - Note that this behaviour wouldn't work for everyone, because it can trigger build storms:  JENKINS-37491 .

          James Dumay added a comment -

          stephenconnolly another ticket solved by traits?

          James Dumay added a comment - stephenconnolly another ticket solved by traits?

          jamesdumay nope this is probably something that falls into the "interesting" category. Some users would like to classify the destination changing as making all the PR-merge heads having an change interesting enough to trigger a corresponding build storm... though perhaps not as interesting as a change to the PR HEAD

          Other people do not want the build storm ever.

          Until JENKINS-45502 we probably cannot make either camp completely happy... right now you get the build storm with every periodic scan, but not with the event driven builds (because that at least lets both camps have some control through the frequency of scanning)

          Stephen Connolly added a comment - jamesdumay nope this is probably something that falls into the "interesting" category. Some users would like to classify the destination changing as making all the PR-merge heads having an change interesting enough to trigger a corresponding build storm... though perhaps not as interesting as a change to the PR HEAD Other people do not want the build storm ever. Until JENKINS-45502  we probably cannot make either camp completely happy... right now you get the build storm with every periodic scan, but not with the event driven builds (because that at least lets both camps have some control through the frequency of scanning)

            nfalco Nikolas Falco
            dodoent Nenad Miksa
            Votes:
            9 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: