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

Bitbucket multibranch pipeline is unable to fetch code from any branches

XMLWordPrintable

      Below is the error message I received when clicked on "scan multi branch pipeline now". It worked fine last week till friday 2/9/2024 and started reporting this issue since today 2/12/2024.

      ERROR: [Mon Feb 12 07:31:29 EST 2024] Could not fetch branches from source a8a27492-1977-4648-a85b-60ba03427e96
      [Mon Feb 12 07:31:29 EST 2024] Finished branch indexing. Indexing took 1.5 sec
      FATAL: Failed to recompute children of cwp-infracheck-tooling
      java.lang.IllegalStateException: Can't find clone link for protocol HTTP
      at com.cloudbees.jenkins.plugins.bitbucket.BitbucketGitSCMBuilder.lambda$getCloneLink$1(BitbucketGitSCMBuilder.java:313)
      at java.base/java.util.Optional.orElseThrow(Optional.java:403)
      at com.cloudbees.jenkins.plugins.bitbucket.BitbucketGitSCMBuilder.getCloneLink(BitbucketGitSCMBuilder.java:313)
      at com.cloudbees.jenkins.plugins.bitbucket.BitbucketGitSCMBuilder.withPrimaryRemote(BitbucketGitSCMBuilder.java:300)
      at com.cloudbees.jenkins.plugins.bitbucket.BitbucketGitSCMBuilder.withBranchRemote(BitbucketGitSCMBuilder.java:293)
      at com.cloudbees.jenkins.plugins.bitbucket.BitbucketGitSCMBuilder.withBitbucketRemote(BitbucketGitSCMBuilder.java:199)
      at com.cloudbees.jenkins.plugins.bitbucket.BitbucketGitSCMBuilder.withCloneLinks(BitbucketGitSCMBuilder.java:130)
      at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.build(BitbucketSCMSource.java:1033)
      at jenkins.scm.api.SCMSource.build(SCMSource.java:934)
      at jenkins.branch.MultiBranchProject.newBranch(MultiBranchProject.java:556)
      at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:2009)
      at jenkins.scm.api.trait.SCMSourceRequest.process(SCMSourceRequest.java:357)
      at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.retrieveBranches(BitbucketSCMSource.java:792)
      at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.retrieve(BitbucketSCMSource.java:632)
      at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:372)
      at jenkins.scm.api.SCMSource.fetch(SCMSource.java:282)
      at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:654)
      at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:269)
      at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:167)
      at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:1057)
      at hudson.model.ResourceController.execute(ResourceController.java:101)
      at hudson.model.Executor.run(Executor.java:442)
      Finished: FAILURE

            Unassigned Unassigned
            sandeepdevisetty Sandeep
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: