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

PRs are not rebuilt after their target branch is updated

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      Jenkins ver. 2.89.4, BlueOcean plug-ins 1.5.0, BitBucket branch source plug-in version 2.2.11
    • Similar Issues:

      Description

      GitHub and Bitbucket show different behavior w.r.t. re-evaluation of pull requests:

      1. GitHub PRs are rebuilt after their target branch is updated;
      2. Bitbucket PRs are not rebuilt after their target branch is updated.

      I find the GitHub behavior quite useful for early detection of incompatibilities between work of multiple developers.

      Although I am aware of the controversy around this behavior, I would really appreciate if Jenkins multi-branch pipelines behave in the same way for major git server vendors.

        Attachments

          Activity

          Hide
          viceice Michael Kriese added a comment -

          This is configurable:

          you should simply uncheck

          Show
          viceice Michael Kriese added a comment - This is configurable: you should simply uncheck
          Hide
          kfernald Kyle Fernald added a comment - - edited

          Michael Kriese: is there a particular version of Jenkins or the plugin in which that option became available? I'm having this issue as well and don't see the checkbox.

          Running a Multi-branch pipeline on Jenkins 2.138.2, Bitbucket Source Plugin 2.4.2 with Bitbucket Server.

          Show
          kfernald Kyle Fernald added a comment - - edited Michael Kriese : is there a particular version of Jenkins or the plugin in which that option became available? I'm having this issue as well and don't see the checkbox. Running a Multi-branch pipeline on Jenkins 2.138.2, Bitbucket Source Plugin 2.4.2 with Bitbucket Server.
          Hide
          viceice Michael Kriese added a comment -

          Kyle Fernald I use Jenkins LTS 2.164.1 and Bitbucket Source Plugin 2.4.2 with Bitbucket Server.

          Maybe the "Build strategies -> Change requests" feature is not available in your Jenkins version

          Show
          viceice Michael Kriese added a comment - Kyle Fernald I use Jenkins LTS 2.164.1 and Bitbucket Source Plugin 2.4.2 with Bitbucket Server. Maybe the "Build strategies -> Change requests" feature is not available in your Jenkins version
          Show
          bitwiseman Liam Newman added a comment - - edited Michael Kriese Kyle Fernald That strategy might only be in: https://wiki.jenkins.io/display/JENKINS/Basic+Branch+Build+Strategies+Plugin

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            alexei_sintotski Alexei Sintotski
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated: