XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I am using gerrit as my SCM and have generated ssh keys for ca_nss_jenkins user and added same in gerrit and created jenkins credentials for the same with username and private key. Earlier it was working fine but after restart of the Jenkins server I am getting the issue.

       

      I have tried running the same commands in jenkins server directly and it works fine. But, in Jenkins it is showing the below errors.

       

      Failed to connect to repository : Command "git ls-remote -h ssh://ca_nss_jenkins@gerritrepo HEAD" returned status code 128:
      stdout: 
      stderr: /tmp/ssh7910025167466427456.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.

       

       

      SSH PLUGIN-2.6.1

      GIT PLUGIN-3.9.1

        Attachments

          Activity

          rajdeepbs29 Rajdeep Bose created issue -
          markewaite Mark Waite made changes -
          Field Original Value New Value
          Assignee Mark Waite [ markewaite ]
          markewaite Mark Waite made changes -
          Resolution Not A Defect [ 7 ]
          Status Open [ 1 ] Fixed but Unreleased [ 10203 ]
          markewaite Mark Waite made changes -
          Status Fixed but Unreleased [ 10203 ] Closed [ 6 ]

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rajdeepbs29 Rajdeep Bose
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: