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

Scan Multibranch Pipeline Log fails

    XMLWordPrintable

Details

    Description

      After creating a project it fails to scan the pipeline with the exception below. I've tried the credentials with a regular git SCM and that works fine.

      com.urswolfer.gerrit.client.rest.http.HttpStatusException: Request not successful. Message: Unauthorized. Status-Code: 401. Content: Unauthorized.
      	at com.urswolfer.gerrit.client.rest.http.GerritRestClient.throwHttpStatusException(GerritRestClient.java:467)
      	at com.urswolfer.gerrit.client.rest.http.GerritRestClient.checkStatusCodeError(GerritRestClient.java:454)
      	at com.urswolfer.gerrit.client.rest.http.GerritRestClient.checkStatusCodeClientError(GerritRestClient.java:440)
      	at com.urswolfer.gerrit.client.rest.http.GerritRestClient.checkStatusCode(GerritRestClient.java:432)
      	at com.urswolfer.gerrit.client.rest.http.GerritRestClient.request(GerritRestClient.java:227)
      	at com.urswolfer.gerrit.client.rest.http.GerritRestClient.requestRest(GerritRestClient.java:163)
      	at com.urswolfer.gerrit.client.rest.http.GerritRestClient.requestRest(GerritRestClient.java:155)
      	at com.urswolfer.gerrit.client.rest.http.GerritRestClient.requestJson(GerritRestClient.java:132)
      	at com.urswolfer.gerrit.client.rest.http.GerritRestClient.getRequest(GerritRestClient.java:101)
      	at com.urswolfer.gerrit.client.rest.http.changes.ChangesRestClient.get(ChangesRestClient.java:113)
      	at com.urswolfer.gerrit.client.rest.http.changes.ChangesRestClient.access$000(ChangesRestClient.java:35)
      	at com.urswolfer.gerrit.client.rest.http.changes.ChangesRestClient$1.get(ChangesRestClient.java:78)
      	at jenkins.plugins.gerrit.AbstractGerritSCMSource.getOpenChanges(AbstractGerritSCMSource.java:175)
      	at jenkins.plugins.gerrit.AbstractGerritSCMSource.access$100(AbstractGerritSCMSource.java:59)
      	at jenkins.plugins.gerrit.AbstractGerritSCMSource$1.discoverBranches(AbstractGerritSCMSource.java:124)
      Caused: java.io.IOException
      	at jenkins.plugins.gerrit.AbstractGerritSCMSource$1.discoverBranches(AbstractGerritSCMSource.java:156)
      	at jenkins.plugins.gerrit.AbstractGerritSCMSource$1.run(AbstractGerritSCMSource.java:98)
      	at jenkins.plugins.gerrit.AbstractGerritSCMSource$1.run(AbstractGerritSCMSource.java:82)
      	at jenkins.plugins.gerrit.AbstractGerritSCMSource.doRetrieve(AbstractGerritSCMSource.java:497)
      	at jenkins.plugins.gerrit.AbstractGerritSCMSource.retrieve(AbstractGerritSCMSource.java:81)
      	at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:355)
      	at jenkins.scm.api.SCMSource.fetch(SCMSource.java:265)
      	at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:631)
      	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:1022)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:429)
      

      Attachments

        Issue Links

          Activity

            Is this possibly related to  JENKINS-50930?

            lucamilanesio Luca Domenico Milanesio added a comment - Is this possibly related to   JENKINS-50930 ?

            People

              lucamilanesio Luca Domenico Milanesio
              johnv John V
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: