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

Cannot Connect to a Git repository using ssh

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Blocker
    • Resolution: Unresolved
    • Environment:
    • Sprint:
      Blue Ocean - Candidates
    • Similar Issues:

      Description

      I'm trying to create a new pipeline using Blue Ocean plugin, my code is stored in a git repository. I've already registered the public SSH Key on my repo.

      When I enter the URL (using ssh) and click on the create pipeline button, the GUI seems to be working, but the pipeline is never created. And I get the following error on the Jenkins console.

       

      Error while serving http://jenkins.loremipsum.com/blue/rest/organizations/jenkins/pipelines/
      org.eclipse.jgit.errors.NotSupportedException: URI not supported: ssh:///git@gitlab.loremipsum.com:loremipsum/group/project.git
      
      

       

      This happens with URLs that starts with ssh: (I cannot create pipelines using other protocols is not supported.

        Attachments

        1. err.log
          9 kB
        2. jenkins1.PNG
          jenkins1.PNG
          39 kB
        3. jenkins2.PNG
          jenkins2.PNG
          55 kB

          Activity

          Hide
          dplavcic Dalibor Plavcic added a comment - - edited
          Show
          dplavcic Dalibor Plavcic added a comment - - edited Hi, did you try to do this: https://www.eclipse.org/forums/index.php/t/1079709/? This also might help you: https://bugs.eclipse.org/bugs/show_bug.cgi?id=423066
          Hide
          zentarim zentarim zentarim added a comment -

          Hi all!
          Got the same problem with last clean docker image jenkinsci/blueocean (7df0299d5d7b).
          I suppose, clean docker image shouldn't has problem with .gitconfig or something else.

          This case i using local SSH git repo (URL: ssh://git@127.0.0.1). Error log in attachement (err.log):

          Thanks in advance!

          Show
          zentarim zentarim zentarim added a comment - Hi all! Got the same problem with last clean docker image jenkinsci/blueocean (7df0299d5d7b). I suppose, clean docker image shouldn't has problem with .gitconfig or something else. This case i using local SSH git repo (URL: ssh://git@127.0.0.1 ). Error log in attachement (err.log): Thanks in advance!

            People

            • Assignee:
              Unassigned
              Reporter:
              kumo829 Alex Montoya
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: