![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Assignee:
|
Nicolas De Loof
|
|
Components:
|
git |
|
Created:
|
06/Aug/14 10:45 PM
|
|
Description:
|
I've setup a local reference repo using "git clone --mirror <url>", and entered the directory correctly in "Path of the reference repo to use during clone" in under the advanced clone options. But my clones are still taking 15 minutes and I'm not getting any indication that reference repository is being used in the console output. I was expecting something like git clone --reference. I've tried it with and without the shallow clone setting and it appears to behave the same.
Either this is broken or there's no indication that it's working. The gui help says that if it can't find the directory it fails silently. I would much rather have an error so I know it's working or not.
Here's the console output, I can see it's doing the shallow clone but not the reference.
Cloning the remote Git repository
Using shallow clone
Cloning repository [email protected]:foobar/ThirdParty.git
> git init c:\jenkins\jobs\SharedThirdParty\workspace # timeout=120
Fetching upstream changes from [email protected]:foobar/ThirdParty.git
> git --version # timeout=120
> git fetch --tags --progress [email protected]:foobar/ThirdParty.git +refs/heads/*:refs/remotes/origin/* --depth=1
> git config remote.origin.url [email protected]:foobar/ThirdParty.git # timeout=120
> git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=120
> git config remote.origin.url [email protected]:foobar/ThirdParty.git # timeout=120
Fetching upstream changes from [email protected]:foobar/ThirdParty.git
> git fetch --tags --progress [email protected]:foobar/ThirdParty.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse "origin/master^{commit}" # timeout=120
Checking out Revision 24b28fd7a27a13ca8c6b184c1aded3604a0e7f00 (origin/master)
> git config core.sparsecheckout # timeout=120
> git checkout -f 24b28fd7a27a13ca8c6b184c1aded3604a0e7f00
> git rev-list 24b28fd7a27a13ca8c6b184c1aded3604a0e7f00 # timeout=120
|
|
Environment:
|
git 1.9.4, git-plugin 2.2.4, jenkins 1.554.2 on windows with a linux slave. Affects both windows and linux as far as I can tell.
|
|
Project:
|
Jenkins
|
|
Priority:
|
Major
|
|
Reporter:
|
Greg MacDonald
|
|
|
|
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/d/optout.