I have an error:

      "Command "/usr/bin/git ls-remote -h git@gitlab.site.com:name/project.git" returned status code 128: stdout: stderr: /tmp/ssh5744210594072786682.sh: line 6: ssh: command not found fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

       

      As a result, I have a build error: 
      ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
      If I fill the field "Default value" to "master" instead of "**" - I don't have Revision error in build process, but "Git Parameter Plugin's" error above, still exist and I can't choose the branch.

      I use:

      Git Parameter Plug-In: 0.9.1

      Git plugin: 3.8.0

      Git client plugin: 2.7.1

          [JENKINS-50711] plugin doesn't work with ssh link to git repo

          Serg Pr created issue -
          Serg Pr made changes -
          Link New: This issue is related to JENKINS-47399 [ JENKINS-47399 ]
          Serg Pr made changes -
          Attachment New: parameter-plugin-bug.txt [ 42135 ]
          Boguslaw Klimas made changes -
          Labels New: ssh_error
          Boguslaw Klimas made changes -
          Link New: This issue duplicates JENKINS-45480 [ JENKINS-45480 ]
          Boguslaw Klimas made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          John Elion made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          René Korthaus made changes -
          Link New: This issue is caused by JENKINS-56558 [ JENKINS-56558 ]
          Wild Gitler made changes -
          Comment [ Is there any other workaround other than https? 
           * The default value has been returned
           * An error occurred while download data
           * Command "git ls-remote -h ssh://git@*********************" returned status code 128:
          stdout: 
          stderr: /tmp/**********************: 6: /tmp/*****************************.sh: ssh: not found
          fatal: Could not read from remote repository.

          Please make sure you have the correct access rights
          and the repository exists.
           * Please look at the Log
           * Please check the configuration ]
          Boguslaw Klimas made changes -
          Status Original: Reopened [ 4 ] New: Open [ 1 ]
          Boguslaw Klimas made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

            klimas7 Boguslaw Klimas
            14163314 Serg Pr
            Votes:
            1 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: