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

Multibranch Pipelines fail first scan with Bitbucket

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          hgfxng Herbert Fischer created issue -
          jamesdumay James Dumay made changes -
          Field Original Value New Value
          Description 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.
          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:

          {{noformat}}
          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
          {{noformat}}

          There is no {{//}} in the end of the Bitbucket API URL and that's why it fails.
          abayer Andrew Bayer made changes -
          Labels bitbucket jenkins plugin bitbucket jenkins plugin triaged-2018-11
          alexandr_semak Alexandr Semak made changes -
          Description 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:

          {{noformat}}
          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
          {{noformat}}

          There is no {{//}} in the end of the Bitbucket API URL and that's why it fails.
          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:


          {code:java}
          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
          {code}


          There is no {{//}} in the end of the Bitbucket API URL and that's why it fails.
          alexandr_semak Alexandr Semak made changes -
          Description 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:


          {code:java}
          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
          {code}


          There is no {{//}} in the end of the Bitbucket API URL and that's why it fails.
          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:


          {code:java}
          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
          {code}


          There is no {{//}} in the end of the Bitbucket API URL and that's why it fails.
          alexandr_semak Alexandr Semak made changes -
          Priority Blocker [ 1 ] Critical [ 2 ]
          alexandr_semak Alexandr Semak made changes -
          Priority Critical [ 2 ] Blocker [ 1 ]

            People

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

              Dates

              • Created:
                Updated: