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

git-plugin setup fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • git-plugin
    • None
    • Jenkins ver. 2.46.2
      Git client plugin 2.7.1
      Git plugin 3.7.0
      and all related dependencies have been successfully installed as per attached screenshot.

      Git version on the RedHat node is 2.12.2
      Bitbucket v4.14.2

      When setting in Jenkins, into Job->Configuration->SourceCodeManagement->Git->RepositoryURL the following line: ssh://git@myserver.mydomain:port.myrepository.git

      I have following error displayed below immediatly in red by the Jenkins Git Plugin:

      Failed to connect to repository : Error performing command: git ls-remote -h ssh://git@myserver.mydomain:port.myrepository.git HEAD

      The git.exe ls-remote <repo url> command also works correctly from git bash of the node and Git is in the path and its path is specified into tools in the node configuration; besides my permissions are set correctly and the clone of this repository works correctly so, it should be a bug with the Git Plugin.

            Unassigned Unassigned
            fl francesco labate
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: