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

github multibranch builds fail to build with latest branch api update

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: branch-api-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.138.3 on Ubuntu
      git plugin 3.9.1 and branch api plugin 2.1.1 is broken.
      git plugin 3.9.0 and branch api plugin 2.0.21 is ok.
    • Similar Issues:
    • Released As:
      branch-api 2.5.4

      Description

      The latest updates broke github multibranch builds.

      The branches are being discovered, but all automaticdiscovery of all new changes on all branches results in the following typical log entries:

      Checking pull-requests...
       
      Checking pull request #3
      ‘Jenkinsfile’ found
      Met criteria
      Changes detected: PR-3 (null → 24d2f4cb5debd9b3f6f8c86383eb077be0dee0c4+517f061b1a7db844659ca98d1b61a7dcd0b6fb82)
      No automatic builds for PR-3

      These builds should have triggered.  Backing out to the last stable set of plugins fixes the problem.

        Attachments

          Issue Links

            Activity

            Hide
            sebgagn Sebastien Gagnon added a comment -

            Hi,

            Same problem on my side.

            Any update on this issue ?

            Thanks

            Show
            sebgagn Sebastien Gagnon added a comment - Hi, Same problem on my side. Any update on this issue ? Thanks
            Hide
            markewaite Mark Waite added a comment -

            Sebastien Gagnon did you apply the instructions in the summary of the configuration change that is usually the best way to resolve the issue?

            Show
            markewaite Mark Waite added a comment - Sebastien Gagnon did you apply the instructions in the summary of the configuration change that is usually the best way to resolve the issue?
            Hide
            alt_jmellor John Mellor added a comment -

            Instead of suggesting that people apply the workaround, having to fix hundreds of thousands of jobs worldwide, how about just reverting the breaking change?  I alone have 3570 jobs to inspect and make a code change to because of this error.  How do I get back to the point of NOT having to make this change, and simply have the github functionality work as expected?

             

            Show
            alt_jmellor John Mellor added a comment - Instead of suggesting that people apply the workaround, having to fix hundreds of thousands of jobs worldwide, how about just reverting the breaking change?  I alone have 3570 jobs to inspect and make a code change to because of this error.  How do I get back to the point of NOT having to make this change, and simply have the github functionality work as expected?  
            Hide
            batmat Baptiste Mathus added a comment -

            John Mellor we understand your frustration, but please be more careful with your phrasing, and be respectful of people time here. This is not a customer support channel.

            Show
            batmat Baptiste Mathus added a comment - John Mellor we understand your frustration, but please be more careful with your phrasing, and be respectful of people time here. This is not a customer support channel.
            Hide
            dnusbaum Devin Nusbaum added a comment -

            Version 2.5.4 of Branch API plugin was just released. This version undeprecates the original property (and two others that were deprecated at the same time) and disables the automatic migration going forward (but does not try to reverse it automatically to avoid making things worse).

            Show
            dnusbaum Devin Nusbaum added a comment - Version 2.5.4 of Branch API plugin was just released. This version undeprecates the original property (and two others that were deprecated at the same time) and disables the automatic migration going forward (but does not try to reverse it automatically to avoid making things worse).

              People

              • Assignee:
                dnusbaum Devin Nusbaum
                Reporter:
                alt_jmellor John Mellor
              • Votes:
                8 Vote for this issue
                Watchers:
                22 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: