[JIRA] [git-plugin] (JENKINS-27981) Impossible to clone git repo

2015-05-19 Thread amdoka...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 S. Panchenko commented on  JENKINS-27981 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Impossible to clone git repo  
 
 
 
 
 
 
 
 
 
 
What was the environment variable you set? I'm having the same issue. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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.


[JIRA] [git-plugin] (JENKINS-27981) Impossible to clone git repo

2015-05-15 Thread mcrai...@yahoo.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Mike Craig commented on  JENKINS-27981 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Impossible to clone git repo  
 
 
 
 
 
 
 
 
 
 
What was the environment variable you set? I'm having the same issue. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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.


[JIRA] [git-plugin] (JENKINS-27981) Impossible to clone git repo

2015-04-21 Thread greendayonf...@gmail.com (JIRA)












































 
Sergei Antipov
 edited a comment on  JENKINS-27981


Impossible to clone git repo
















I reinstalled Slave as a service. I tried 2.2.12 git plugin. I reinstalled msysgit. I deleted Tortoise Git.
For now I have error without information:

Building remotely on uk-world-jenk03 in workspace C:\Jenkins\workspace\project_win32
Cloning the remote Git repository
Cloning repository https://gitlab.company.local/group/project.git
  git init C:\Jenkins\workspace\project_win32\project # timeout=10
ERROR: Error cloning remote repo 'origin'
ERROR: Error cloning remote repo 'origin'
Archiving artifacts
Finished: FAILURE



























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.


[JIRA] [git-plugin] (JENKINS-27981) Impossible to clone git repo

2015-04-21 Thread greendayonf...@gmail.com (JIRA)














































Sergei Antipov
 updated  JENKINS-27981


Impossible to clone git repo
















Change By:


Sergei Antipov
(21/Apr/15 8:20 AM)




Description:


IcantclonegitrepoonJenkinsSlavenodeviassh+gitprotocol.Error:Buildingremotelyonuk-world-jenk03inworkspaceC:\Jenkins\workspace\
v4world_win32
project_win32
gitrev-parse--is-inside-work-tree#timeout=10FetchingchangesfromtheremoteGitrepositorygitconfigremote.origin.urlgit@gitlab.
2gis
company
.local:world/
v4world
project
.git#timeout=10Fetchingupstreamchangesfromgit@gitlab.
2gis
company
.local:world/
v4world
project
.gitgit--version#timeout=10usingGIT_SSHtosetcredentialsuk-world-jenk03git-ccore.askpass=truefetch--tags--progressgit@gitlab.
2gis
company
.local:world/
v4world
project
.git+refs/heads/*:refs/remotes/origin/*ERROR:Errorfetchingremoterepooriginhudson.plugins.git.GitException:Failedtofetchfromgit@gitlab.
2gis
company
.local:world/
v4world
project
.git	athudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:735)	athudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:983)	athudson.plugins.git.GitSCM.checkout(GitSCM.java:1016)	atorg.jenkinsci.plugins.multiplescms.MultiSCM.checkout(MultiSCM.java:122)	athudson.scm.SCM.checkout(SCM.java:484)	athudson.model.AbstractProject.checkout(AbstractProject.java:1270)	athudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)	atjenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)	athudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531)	athudson.model.Run.execute(Run.java:1741)	athudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)	athudson.model.ResourceController.execute(ResourceController.java:98)	athudson.model.Executor.run(Executor.java:374)Causedby:hudson.plugins.git.GitException:Commandgit-ccore.askpass=truefetch--tags--progressgit@gitlab.
2gis
company
.local:world/
v4world
project
.git+refs/heads/*:refs/remotes/origin/*returnedstatuscode128:stdout:stderr:plink:unknownoption-ofatal:Couldnotreadfromremoterepository.Pleasemakesureyouhavethecorrectaccessrightsandtherepositoryexists.plinkreallydonthaveoption-o.



























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.


[JIRA] [git-plugin] (JENKINS-27981) Impossible to clone git repo

2015-04-21 Thread greendayonf...@gmail.com (JIRA)















































Sergei Antipov
 resolved  JENKINS-27981 as Fixed


Impossible to clone git repo
















Problem was in enviroment vairables.
I created environment variables globally inside windows machine and now it works.
I tried use jenkins settings for slave node, but this variables not used on slave. (Maybe it's a another bug)





Change By:


Sergei Antipov
(22/Apr/15 5:38 AM)




Status:


Open
Resolved





Resolution:


Fixed



























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.


[JIRA] [git-plugin] (JENKINS-27981) Impossible to clone git repo

2015-04-20 Thread greendayonf...@gmail.com (JIRA)














































Sergei Antipov
 commented on  JENKINS-27981


Impossible to clone git repo















I reinstalled Slave as a service. I tried 2.2.12 git plugin. I reinstalled msysgit. I deleted Tortoise Git.
For now I have error without information:

Building remotely on uk-world-jenk03 in workspace C:\Jenkins\workspace\v4world_win32
Cloning the remote Git repository
Cloning repository https://gitlab.2gis.local/world/v4world.git
  git init C:\Jenkins\workspace\v4world_win32\v4world # timeout=10
ERROR: Error cloning remote repo 'origin'
ERROR: Error cloning remote repo 'origin'
Archiving artifacts
Finished: FAILURE



























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.


[JIRA] [git-plugin] (JENKINS-27981) Impossible to clone git repo

2015-04-17 Thread mark.earl.wa...@gmail.com (JIRA)














































Mark Waite
 commented on  JENKINS-27981


Impossible to clone git repo















I don't see any location in the git client plugin or the git plugin where they pass a "-o" argument to plink.  There are two calls to ssh with a "-o" argument, but no references to plink.  My Windows based installations all use OpenSSH as the provider of ssh, rather than using plink.

I wondered if you might have a different plink program in your path than the plink provided by PuTTY.  You might check that, though, based on at least one  recommendation, you should uninstall msysgit which you had configured with PuTTY and plink and switch to install msysgit using the default OpenSSH based ssh implementation.  Refer to stackoverflow.com for a screenshot of the setup screen where you need to choose OpenSSH instead of Plink.



























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.


[JIRA] [git-plugin] (JENKINS-27981) Impossible to clone git repo

2015-04-16 Thread greendayonf...@gmail.com (JIRA)














































Sergei Antipov
 created  JENKINS-27981


Impossible to clone git repo















Issue Type:


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



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.


[JIRA] [git-plugin] (JENKINS-27981) Impossible to clone git repo

2015-04-16 Thread mark.earl.wa...@gmail.com (JIRA)














































Mark Waite
 commented on  JENKINS-27981


Impossible to clone git repo















Can you provide more details about your configuration?

Are you using the credentials plugin to set the private key to be used by git or are you passing the credentials some other way?

How are you configuring msysgit to use plink?

Is your private key protected by a passphrase?

Have you tried using msysgit with the default OpenSSH ssh instead of plink?

Is your Jenkins slave running as a service?



























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.


[JIRA] [git-plugin] (JENKINS-27981) Impossible to clone git repo

2015-04-16 Thread greendayonf...@gmail.com (JIRA)














































Sergei Antipov
 commented on  JENKINS-27981


Impossible to clone git repo















1. Credentials Plugin - 1.22
SSH Credentials Plugin - 1.10

2. I don't know. I just installed msysgit on slave.
3. I use key without passphrase
4. How I can do it?
5. Jenkins Slave Type: JNLP 



























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.