Change By: Oliver Bock (16/Apr/13 11:21 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  directories  (even if empty!)  directories :

{noformat}
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
{noformat}

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  seemingly wasn 't  been done  the case  in (at least) 1.502.
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to