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

Bitbucket Mercurial Multibranch Pipeline: Scan triggers all builds regardless of any changes

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Environment:
    • Similar Issues:

      Description

      I currently have a Bibucket Mercurial Multibranch pipeline that scans every 5 minutes for any PRs submitted against master which triggers our build for those branches.

      After updating our Bitbucket Branch Source plugin version from 2.2.12 to 2.2.15, some scans would periodically result in retriggering all of our PR builds even though none of those PRs were updated.

      This has a tremendous impact as all of our Jenkins agents would overload with unnecessary builds.

      I recently updated the Bitbucket Branch Source plugin version to 2.3.0 (most recent release) hoping this had been fixed and it's still a problem.

      This issue appears to have been introduced in version 2.2.13. I'm reverting back to 2.2.12 until this issue is fixed.

       

        Attachments

          Activity

          Hide
          bartdevriendt Bart Devriendt added a comment - - edited

          We are having this problem also in 2.4 version of the plugin with git repositories.  Sometimes all builds are started although no changes were made to a branch/PR.  In the log of the scan every branch is stated to have changes.

          We reverted to 2.2.12 as well

          Show
          bartdevriendt Bart Devriendt added a comment - - edited We are having this problem also in 2.4 version of the plugin with git repositories.  Sometimes all builds are started although no changes were made to a branch/PR.  In the log of the scan every branch is stated to have changes. We reverted to 2.2.12 as well
          Hide
          germanpineda German Pineda added a comment -

          This is starting to become a bigger issue for us since keeping the Bitbucket Branch Source plugin at version 2.2.12 is now causing dependency issues with Blue Ocean (see picture below):

          For anyone else experiencing this problem, you might need to hold back on updating Blue Ocean as well until this issue is fixed.

           

          Show
          germanpineda German Pineda added a comment - This is starting to become a bigger issue for us since keeping the Bitbucket Branch Source plugin at version 2.2.12 is now causing dependency issues with Blue Ocean (see picture below): For anyone else experiencing this problem, you might need to hold back on updating Blue Ocean as well until this issue is fixed.  
          Hide
          viceice Michael Kriese added a comment -

          Looks like the 'Ignore rebuilding merge branches when only the target branch changed' option is no longer working.

          Show
          viceice Michael Kriese added a comment - Looks like the 'Ignore rebuilding merge branches when only the target branch changed' option is no longer working.

            People

            • Assignee:
              Unassigned
              Reporter:
              germanpineda German Pineda
            • Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: