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

Cannot Connect to a Git repository using ssh

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Blocker
    • Blue Ocean - Candidates

    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. jenkins1.PNG
          jenkins1.PNG
          39 kB
        2. jenkins2.PNG
          jenkins2.PNG
          55 kB
        3. err.log
          9 kB

        Activity

          People

            Unassigned Unassigned
            kumo829 Alex Montoya
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: