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

New GitLab Group w/ SSH key can't check out repos

XMLWordPrintable

    • GSoC 2019. Coding Phase 2

      Steps to reproduce:

       

      ```

      ERROR: [Wed Jul 17 07:51:22 PDT 2019] Could not fetch branches from source io.jenkins.plugins.gitlabbranchsource.GitLabSCMNavigator::

      https://gitlab.com::justin-harringa::justin-harringa/jenkins-test

      java.net.URISyntaxException: Illegal character in scheme name at index 3: git@gitlab.com:justin-harringa/jenkins-test.git at java.net.URI$Parser.fail(URI.java:2848) at java.net.URI$Parser.checkChars(URI.java:3021) at java.net.URI$Parser.parse(URI.java:3048) at java.net.URI.<init>(URI.java:588) at java.net.URI.create(URI.java:850) Caused: java.lang.IllegalArgumentException: Illegal character in scheme name at index 3: git@gitlab.com:justin-harringa/jenkins-test.git at java.net.URI.create(URI.java:852) at io.jenkins.plugins.gitlabbranchsource.GitLabSCMBuilder.checkoutUriTemplate(GitLabSCMBuilder.java:132) at io.jenkins.plugins.gitlabbranchsource.GitLabSCMBuilder.checkoutUriTemplate(GitLabSCMBuilder.java:179) at io.jenkins.plugins.gitlabbranchsource.GitLabSCMBuilder.withGitLabRemote(GitLabSCMBuilder.java:192) at io.jenkins.plugins.gitlabbranchsource.GitLabSCMBuilder.build(GitLabSCMBuilder.java:216) at io.jenkins.plugins.gitlabbranchsource.GitLabSCMSource.build(GitLabSCMSource.java:512) at jenkins.scm.api.SCMSource.build(SCMSource.java:851) at jenkins.branch.MultiBranchProject.newBranch(MultiBranchProject.java:533) at jenkins.branch.MultiBranchProject.access$1000(MultiBranchProject.java:124) at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1974) at jenkins.scm.api.trait.SCMSourceRequest.process(SCMSourceRequest.java:357) at jenkins.scm.api.trait.SCMSourceRequest.process(SCMSourceRequest.java:286) at io.jenkins.plugins.gitlabbranchsource.GitLabSCMSource.retrieve(GitLabSCMSource.java:258) at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:373) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:283) 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) [Wed Jul 17 07:51:22 PDT 2019] Finished branch indexing. Indexing took 1.7 sec FATAL: Failed to recompute children of Justin Harringa » justin-harringa/jenkins-test java.lang.IllegalArgumentException: Illegal character in scheme name at index 3: git@gitlab.com:justin-harringa/jenkins-test.git at java.net.URI.create(URI.java:852) at io.jenkins.plugins.gitlabbranchsource.GitLabSCMBuilder.checkoutUriTemplate(GitLabSCMBuilder.java:132) at io.jenkins.plugins.gitlabbranchsource.GitLabSCMBuilder.checkoutUriTemplate(GitLabSCMBuilder.java:179) at io.jenkins.plugins.gitlabbranchsource.GitLabSCMBuilder.withGitLabRemote(GitLabSCMBuilder.java:192) at io.jenkins.plugins.gitlabbranchsource.GitLabSCMBuilder.build(GitLabSCMBuilder.java:216) at io.jenkins.plugins.gitlabbranchsource.GitLabSCMSource.build(GitLabSCMSource.java:512) at jenkins.scm.api.SCMSource.build(SCMSource.java:851) at jenkins.branch.MultiBranchProject.newBranch(MultiBranchProject.java:533) at jenkins.branch.MultiBranchProject.access$1000(MultiBranchProject.java:124) at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1974) at jenkins.scm.api.trait.SCMSourceRequest.process(SCMSourceRequest.java:357) at jenkins.scm.api.trait.SCMSourceRequest.process(SCMSourceRequest.java:286) at io.jenkins.plugins.gitlabbranchsource.GitLabSCMSource.retrieve(GitLabSCMSource.java:258) at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:373) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:283) 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) Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 3: git@gitlab.com:justin-harringa/jenkins-test.git at java.net.URI$Parser.fail(URI.java:2848) at java.net.URI$Parser.checkChars(URI.java:3021) at java.net.URI$Parser.parse(URI.java:3048) at java.net.URI.<init>(URI.java:588) at java.net.URI.create(URI.java:850) ... 20 more

      ```

            baymac Parichay Barpanda
            justinharringa Justin Harringa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: