开发者

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?


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


Currently it seems that there is no direct support for this.

There is a bugtracker for this request on the Jenkins JIRA site: https://issues.jenkins-ci.org/browse/JENKINS-4418

You can 'upvote' the request there. It was initially closed as "won't fix," but currently (April 2013) has a status of 'Reopened.'

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜