The error message hints that you have chosen to install git for Windows to use plink rather than the default openssh authentication system. The simplest solution is probably to reconfigure your git for Windows to use openssh rather than plink.
If you must use plink, you may find helpful instructions on the wiki page of the git plugin. Mark Waite On Sat, Feb 6, 2016, 4:08 PM Paulo Moreira <pmeste...@gmail.com> wrote: > > Paulo Moreira > to mark.earl.waite, nicolas.deloof > 1 day agoDetails > Dear Jenkins Masters, > > Sorry to bother you but I am strugguling to get the git plugin working > under my environment. > > Can you please help? > I am working on this issue for some days now :( > > Here is my setting: > > Master: > Jenkins Master under Linux CentOS > - git clone by shell --> Ok > - git plugin --> Ok > > Node: > Under Windows 7 > - git clone by shell --> Ok > - git plugin --> NOK (and here is my problem) > > > Cloning repository ssh://g...@gitlab.xxx.git > > git init D:\workspace\test_git_newgitlab_win # timeout=10 > Fetching upstream changes from ssh://g...@gitlab.xxx.git > > git --version # timeout=10 > using GIT_SSH to set credentials > > git -c core.askpass=true fetch --tags --progress > ssh://g...@gitlab.xxx.git +refs/heads/*:refs/remotes/origin/* > ERROR: Error cloning remote repo 'origin' > hudson.plugins.git.GitException: Command "git -c core.askpass=true fetch > --tags --progress ssh://g...@gitlab.xxx.git > +refs/heads/*:refs/remotes/origin/*" returned status code 128: > stdout: > stderr: plink: unknown option "-o" > plink: unknown option "-p" > fatal: Could not read from remote repository. > > GIT_HOME=D:\Programs\Git\cmd > HOME=C:\Users\paulomoreira > > PATH=D:\Programs\TortoiseSVN\bin;D:\Programs\PuTTY;D:\Programs\PuTTY;D:\Programs\TortoiseGit\bin;D:\Programs\Git\cmd;D:\Programs\Git\bin > > Jenkins:V 1.639 > Git Client plugin: 1.19.2 > Git plugin: 2.4.2 > > > I have run out off solutions :( > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/2d903c70-08ff-4cd3-81a4-4bcdf446cd27%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEVyoNHF8m6EKkRfQaiDebHmkFOBuWbUU1m8G8mUtnZjQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.