Issue Type: Bug Bug
Assignee: Nicolas De Loof
Components: git-plugin
Created: 16/Apr/15 1:18 PM
Description:

I can't clone git repo on Jenkins Slave node via "ssh+git" protocol.
Error:
Building remotely on uk-world-jenk03 in workspace C:\Jenkins\workspace\v4world_win32
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url git@gitlab.2gis.local:world/v4world.git # timeout=10
Fetching upstream changes from git@gitlab.2gis.local:world/v4world.git
> git --version # timeout=10
using GIT_SSH to set credentials uk-world-jenk03
> git -c core.askpass=true fetch --tags --progress git@gitlab.2gis.local:world/v4world.git +refs/heads/:refs/remotes/origin/
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from git@gitlab.2gis.local:world/v4world.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:735)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:983)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1016)
at org.jenkinsci.plugins.multiplescms.MultiSCM.checkout(MultiSCM.java:122)
at hudson.scm.SCM.checkout(SCM.java:484)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1270)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531)
at hudson.model.Run.execute(Run.java:1741)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:374)
Caused by: hudson.plugins.git.GitException: Command "git -c core.askpass=true fetch --tags --progress git@gitlab.2gis.local:world/v4world.git +refs/heads/:refs/remotes/origin/" returned status code 128:
stdout:
stderr: plink: unknown option "-o"
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

plink really don't have option "-o".

Environment: Jenkins: 1.607
Git-Plugin: 2.3.5
Jenkins Slave Type: JNLP
Project: Jenkins
Priority: Blocker Blocker
Reporter: Sergei Antipov
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to