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

Branch is built when PR exists for Bitbucket Server Multibranch Pipelines

XMLWordPrintable

      Atlassian Bitbucket Server Integration plugin v4.2.0
      **

      In multibranch pipeline jobs, Jenkins currently builds both the branch and the corresponding pull request (PR) when a PR is opened. This results in duplicate builds for the same commit, and unnecessary clutter in build history.

      When a PR is created for a branch, Jenkins builds both the original branch and the PR.

      • There is no build strategy or configuration option (via UI or JobDSL) that suppresses branch builds when a PR exists for that branch.

       

        1. image-2025-07-07-14-38-30-325.png
          43 kB
          lramesh
        2. image-2025-07-07-14-38-56-773.png
          72 kB
          lramesh
        3. image-2025-07-07-14-39-26-711.png
          52 kB
          lramesh
        4. image-2025-07-15-20-58-44-920.png
          46 kB
          lramesh
        5. image-2025-07-15-21-06-11-953.png
          53 kB
          lramesh
        6. image-2025-07-15-21-07-33-938.png
          21 kB
          lramesh
        7. image-2025-07-15-21-08-38-025.png
          21 kB
          lramesh

            Unassigned Unassigned
            lramesh lramesh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: