Jenkins ignoring "shallow' option

26 views
Skip to first unread message

Kirill Bucharsky

unread,
Feb 14, 2014, 8:40:20 AM2/14/14
to jenkins...@googlegroups.com

Hello.

 

I have Jenkins 1.540 with latest git-plugin. Also I have large repo ~1,3 GB. Shallow clone of this repo is about ~70 MB.

Of course I'd like to download shallow and I checked corresponding checkbox in job configuration.

I’m starting build and watch ps aux on slave. I’m getting this:

git fetch --tags --progress g...@github.com:*******/***git +refs/heads/*:refs/remotes/origin/* --depth=1

But it is still downloading a whole repo instead of shallow cut. I’m judging by directory size.

When I copy-paste the string above and run it manually — all is well, I’m getting shallow clone.

User, directory are the same in both cases.

Can anybody tell me what I am missing?

 

Regards,

Kirill Bucharsky

Dave

unread,
Feb 11, 2015, 1:34:55 PM2/11/15
to jenkins...@googlegroups.com, doz...@gmail.com
I think I'm seeing the same issue. We try a shallow clone, but the clone will still timeout after 30 minutes sometimes. Did you ever figure out the issue.
Reply all
Reply to author
Forward
0 new messages