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

Git checkout fails with 'returned status code 128' on Linux agent with OpenSSH 7.4

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • git-plugin
    • Windows 'master'
      Jenkins version: 2361
      Git-Plugin 4.11.4

      Yesterday I have upgrade a lot of plugins and now I got on a Linux slave the error message:

      // Code-Platzhalter
      hudson.plugins.git.GitException: Command "/usr/bin/git fetch --tags --progress ssh://git@xxxx:7999/iiot/yyy.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
       

      Last week (friday) same build job, I have not a problem. Here two build jobs log outputs:

      • bad (jenkins-slave-git-bad.txt) (monday 22-08-01)
      • good (jenkins-slave-git-good.txt) (friday 22-07-29)

          [JENKINS-69201] Git checkout fails with 'returned status code 128' on Linux agent with OpenSSH 7.4

          Markus Winter added a comment - https://plugins.jenkins.io/git-client/#plugin-content-ssh-host-key-verification https://issues.jenkins.io/browse/JENKINS-69149

          Thanks, must now deduce what to do

          Guido Forthofer added a comment - Thanks, must now deduce what to do

          Hi Markus, a lot of thanks, I needed a long time the found the right key (configuration parameter) and only at the end I saw the important parameter "Git Host Key Verification Strategy". For me this problem is solved.

          Guido Forthofer added a comment - Hi Markus, a lot of thanks, I needed a long time the found the right key (configuration parameter) and only at the end I saw the important parameter "Git Host Key Verification Strategy". For me this problem is solved.

            markewaite Mark Waite
            guido17 Guido Forthofer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: