Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I specify an option for git clone when using git plug in for Hudson?

I'm using Hudson with git plug in to run my automation tests. I want to specify an option when it runs git clone (eg. git clone --depth 1) to speed up the process. Is there any way to do this?

like image 615
user534815 Avatar asked Dec 08 '10 10:12

user534815


1 Answers

Looks like it is now exposed as a checkable option in Jenkins: "Shallow Clone".

like image 75
DustinB Avatar answered Sep 24 '22 11:09

DustinB