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

Multibranch Pipelines fail first scan with Bitbucket

XMLWordPrintable

      I can't finish the creation of a new Multibranch Pipeline with BitBucket source because it fails listing available projects in the account. The select box that shows the projects is empty and the only error I can see in the logs is the following:

      Started [Mon Aug 28 10:50:33 CEST 2017] Starting branch indexing... 
      ERROR: [Mon Aug 28 10:50:33 CEST 2017] Could not update folder level actions from source 08a4d320-a290-4de7-999a-736b4f5e3906 java.io.FileNotFoundException: URL: }}{{[https://api.bitbucket.org/2.0/repositories//]}}{{ at com.cloudbees.jenkins.plugins.bitbucket.client.BitbucketCloudApiClient.getRequest(BitbucketCloudApiClient.java:595) at com.cloudbees.jenkins.plugins.bitbucket.client.BitbucketCloudApiClient.getRepository(BitbucketCloudApiClient.java:235) at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.retrieveActions(BitbucketSCMSource.java:963) at jenkins.scm.api.SCMSource.fetchActions(SCMSource.java:746) at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:591) at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:276) at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:165) at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:978) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:419) 
      [Mon Aug 28 10:50:33 CEST 2017] Finished branch indexing. Indexing took 0.15 sec FATAL: Failed to recompute children of test java.io.FileNotFoundException: URL: }}{{[https://api.bitbucket.org/2.0/repositories//]}}{{ at com.cloudbees.jenkins.plugins.bitbucket.client.BitbucketCloudApiClient.getRequest(BitbucketCloudApiClient.java:595) at com.cloudbees.jenkins.plugins.bitbucket.client.BitbucketCloudApiClient.getRepository(BitbucketCloudApiClient.java:235) at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.retrieveActions(BitbucketSCMSource.java:963) at jenkins.scm.api.SCMSource.fetchActions(SCMSource.java:746) at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:591) at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:276) at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:165) at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:978) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:419)
       Finished: FAILURE
      

      There is no // in the end of the Bitbucket API URL and that's why it fails.

            Unassigned Unassigned
            hgfxng Herbert Fischer
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: