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