Commit Graph

3 Commits

Author SHA1 Message Date
Ladislav Thon a2ad875fd7 add the "honorRefspec" option to the Git SCM
Taken from github pull request
https://github.com/openstack-infra/jenkins-job-builder/pull/64/files

Change-Id: Ib051a46daa4a3e2d6add74cc9c1c3c1eb766672a
2019-01-31 17:08:34 +00:00
Imran Malik 4167cc5dbd Add depth option to git shallow-clone
- Use convert xml for shallow-clone and depth

Change-Id: I92d4bd2ded6db66bb608aed480e873e29e7b9474
2018-06-14 22:07:35 -04:00
Bao Nguyen badab02647 Add `do-not-fetch-tags` to CloneOption for Git
In one of the recent change to Git plugin behavior[1], tags are
also search as part of branches.

This cause projects that build on all branches to also build on all
tags.

This change allowing for tags to be ignored.

Default this option is false and missing from XML output.

[1] https://github.com/jenkinsci/git-plugin/pull/340
[2] bfeda3e661

Change-Id: I2ed2290f9ef8ecd0d9e96aad1d7cbce2964bf2da
2017-06-11 10:36:33 -07:00