I don\'t know since when, but one day my Jenkins is not building fine my projects anymore.
Make sure your system path includes:
\usr\bin
You will find all the Linux executable (including ssh.exe) there.
You can install a portable version of Git anywhere you want on your system.
Update April 2017: I had the same issue with Jenkins 1.614 and Git client 1.19
The only way I get past that error was by copying ssh.exe from C:\myGit\usr\bin
(with C:\MyGit\usr\bin in %PATH%) to
c:\Program Files\Git\bin
Even though:
Git
at all in C:\Program Files
(I installed/unzipped it in C:\myGit
), meaning after the copy, C:\Program Files\Bin
only include bin\ssh.exe
: that's it.C:\Program Files\Bin
is not in the PATH
.But the Git Client (at least in that old version) is hard-wired to search in that path.
Once I will switch to Jenkins 2.54+, I will test a more recent Git Client plugin.