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

Gitea organization with SSH checkout has ssh:/// in address

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • gitea-plugin
    • None
    • Jenkins 2.232
      Credentials 2.3.7
      Gitea Plugin 1.2.0
      Gitea 1.11.4
    • 1.2.1

      Job fails to checkout over SSH. When created with Gitea organization and scanned for jenkinsfile. 

      The problem seems to be in ssh url:

      git.exe config remote.origin.url ssh:///git@gitea.f.cz:-1/F/llll3.git # timeout=10
      

      notice the ssh:///git@

       

      Because of this the "/git" user is used. The correct user should be "git"

       

      When using the git plugin and Multibranch pipeline, checkout proceeds correctly.

       

            Unassigned Unassigned
            mzemek Martin Zemek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: