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

REGRESSION: Bitbucket scan organization folder fails

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The scan organization action fails with the following output:

       

      [Wed Mar 15 13:24:11 PKT 2017] Starting organization scan...
      [Wed Mar 15 13:24:11 PKT 2017] Updating actions...
      Looking up team details of innexiv-dev...
      Connecting to https://bitbucket.org using alirizwan/******
      [Wed Mar 15 13:24:12 PKT 2017] Finished organization scan. Scan took 0.32 sec
      FATAL: Failed to recompute children of innexiv-dev
      java.lang.ClassCastException: java.util.ArrayList cannot be cast to com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketHref
      	at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMNavigator.getLink(BitbucketSCMNavigator.java:334)
      	at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMNavigator.retrieveActions(BitbucketSCMNavigator.java:307)
      	at jenkins.scm.api.SCMNavigator.fetchActions(SCMNavigator.java:315)
      	at jenkins.branch.OrganizationFolder.computeChildren(OrganizationFolder.java:350)
      	at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:255)
      	at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:154)
      	at jenkins.branch.OrganizationFolder$OrganizationScan.run(OrganizationFolder.java:850)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:405)
      Finished: FAILURE
      

        Attachments

          Issue Links

            Activity

            Hide
            anoppe Auke Noppe added a comment -

            I've downgraded to version 2.0.2 which resolves the error.

            Show
            anoppe Auke Noppe added a comment - I've downgraded to version 2.0.2 which resolves the error.
            Hide
            jamesdumay James Dumay added a comment -

            This was fixed back in March 2017

            Show
            jamesdumay James Dumay added a comment - This was fixed back in March 2017

              People

              • Assignee:
                stephenconnolly Stephen Connolly
                Reporter:
                aleerizw Ali Rizwan
              • Votes:
                4 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: