Issue Type: Bug Bug
Affects Versions: current
Assignee: Nicolas De Loof
Components: git, git-client
Created: 16/Apr/13 11:17 AM
Description:

Jenkins 1.511 (git plugin 1.3.0, git client plugin 1.0.5) doesn't support git < 1.6.2 anymore since older git versions don't support cloning into existing (even if empty!) directories:

Last Built Revision: Revision <SHA1> (origin/master)
Cloning the remote Git repository
Cloning repository <myrepo-url>.git
git --version
git version 1.5.6.5
ERROR: Error cloning remote repo 'origin' : Could not clone <myrepo-url>.git
[...]
stderr: fatal: destination directory '/home/jenkins/workspace/<build-workspace>' already exists.

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:773)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.clone(CliGitAPIImpl.java:217)
	... 12 more
Trying next repository
ERROR: Could not clone repository

Something seems to have changed in the build process lately as Jenkins 1.502 doesn't have this problem. It seems the workspace is created before cloning which hasn't been done in (at least) 1.502.

Project: Jenkins
Labels: git plugin clone workspace regression
Priority: Major Major
Reporter: Oliver Bock
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/groups/opt_out.
 
 

Reply via email to