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

Cannot Connect to a Git repository using ssh

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Blocker
    • Resolution: Unresolved
    • 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. err.log
          9 kB
        2. jenkins1.PNG
          jenkins1.PNG
          39 kB
        3. jenkins2.PNG
          jenkins2.PNG
          55 kB

        Activity

          kumo829 Alex Montoya created issue -
          zentarim zentarim zentarim made changes -
          Field Original Value New Value
          Attachment err.log [ 44435 ]

          People

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

            Dates

              Created:
              Updated: