Tomasz Bartczak edited a comment on Bug JENKINS-17055

I have the same issue - Ubuntu 12.04, Jenkins 1.504, Git 1.2.0

When I specify two remotes, only one gets cloned, and I get an error on git fetch.

I looked at the code and I think the problem is here:

GitSCM.java starting line 993
for (RemoteConfig rc : repos) {
                    	final String expandedReference = environment.expand(reference);
                        try {
                            git.clone(rc.getURIs().get(0).toPrivateString(), rc.getName(), useShallowClone, expandedReference);
                            successfullyCloned = true;
                            break;

the last break stops cloning next repo after first succesfull clone of any repo.

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