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

Git plugin cannot find ssh with Git for Windows version 2.5.0

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • git-plugin
    • None
    • Windows 7 slave, Jenkins 1.609.2, git plugin 2.4.0, git client plugin 1.18.0.

      The git plugin is confused about ssh.exe not being in the path. Please see the attached log.

      I have the slave set up with git tool path set to C:\Program Files\Git\bin\git.exe.

          [JENKINS-30032] Git plugin cannot find ssh with Git for Windows version 2.5.0

          tsondergaard created issue -

          Mark Waite added a comment -

          Thanks for the report. I wasn't aware that git for windows 2.5.0 was available. That's a dramatic version number increase (from the previous 1.9.5 version), and a nice step. That seems like it will need to be the focus of the next version of the git plugin.

          Mark Waite added a comment - Thanks for the report. I wasn't aware that git for windows 2.5.0 was available. That's a dramatic version number increase (from the previous 1.9.5 version), and a nice step. That seems like it will need to be the focus of the next version of the git plugin.
          Mark Waite made changes -
          Assignee Original: Nicolas De Loof [ ndeloof ] New: Mark Waite [ markewaite ]
          Mark Waite made changes -
          Summary Original: Git does not work with new Git for Windows version 2.5.0 New: Git plugin cannot find ssh with Git for Windows version 2.5.0
          Mark Waite made changes -
          Link New: This issue duplicates JENKINS-30045 [ JENKINS-30045 ]

          Code changed in jenkins
          User: Mark Waite
          Path:
          src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java
          http://jenkins-ci.org/commit/git-client-plugin/b6fe319297b9ef5ceb29b260aa37c6cf994b414a
          Log:
          Check for ssh.exe in usr/bin in addition to bin

          [Fix JENKINS-30045] Windows git 2.5.0 can't find ssh

          [Fix JENKINS-30032] Windows git 2.5.0 can't find ssh

          Compare: https://github.com/jenkinsci/git-client-plugin/compare/673b928b29c9...b6fe319297b9

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Mark Waite Path: src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java http://jenkins-ci.org/commit/git-client-plugin/b6fe319297b9ef5ceb29b260aa37c6cf994b414a Log: Check for ssh.exe in usr/bin in addition to bin [Fix JENKINS-30045] Windows git 2.5.0 can't find ssh [Fix JENKINS-30032] Windows git 2.5.0 can't find ssh Compare: https://github.com/jenkinsci/git-client-plugin/compare/673b928b29c9...b6fe319297b9

          Mark Waite added a comment -

          If you'd like to try the build which includes the fix, it is available (for now) from the Cloudbees Jenkins server.

          Will be included in next git client plugin after 1.18.0.

          Mark Waite added a comment - If you'd like to try the build which includes the fix, it is available (for now) from the Cloudbees Jenkins server . Will be included in next git client plugin after 1.18.0.
          Mark Waite made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          Mark Waite added a comment -

          Included in git client plugin 1.19.0

          Mark Waite added a comment - Included in git client plugin 1.19.0
          Mark Waite made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            markewaite Mark Waite
            tsondergaard tsondergaard
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: