diff options
author | Ladislav Thon <lthon@redhat.com> | 2018-03-06 14:50:54 +0100 |
---|---|---|
committer | Sergii Kipot <kipot.sergey@gmail.com> | 2019-01-31 17:08:34 +0000 |
commit | a2ad875fd755ee93654c07e3649ace72bc4a4727 (patch) | |
tree | d2ed11b364138b1569ccb577742ac40a8fb24973 /tests | |
parent | c59b5a5258c875d814b1ada82fd7bbaf7de97a26 (diff) | |
download | python-jenkins-job-builder-a2ad875fd755ee93654c07e3649ace72bc4a4727.tar.gz python-jenkins-job-builder-a2ad875fd755ee93654c07e3649ace72bc4a4727.tar.xz python-jenkins-job-builder-a2ad875fd755ee93654c07e3649ace72bc4a4727.zip |
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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/scm/fixtures/git-cloneoptions01.xml | 1 | ||||
-rw-r--r-- | tests/scm/fixtures/git-cloneoptions01.yaml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/scm/fixtures/git-cloneoptions01.xml b/tests/scm/fixtures/git-cloneoptions01.xml index 722f773a..f4e0c78b 100644 --- a/tests/scm/fixtures/git-cloneoptions01.xml +++ b/tests/scm/fixtures/git-cloneoptions01.xml @@ -28,6 +28,7 @@ <shallow>false</shallow> <depth>1</depth> <noTags>true</noTags> + <honorRefspec>true</honorRefspec> </hudson.plugins.git.extensions.impl.CloneOption> <hudson.plugins.git.extensions.impl.WipeWorkspace/> </extensions> diff --git a/tests/scm/fixtures/git-cloneoptions01.yaml b/tests/scm/fixtures/git-cloneoptions01.yaml index 5a6a8f3d..5aced6c5 100644 --- a/tests/scm/fixtures/git-cloneoptions01.yaml +++ b/tests/scm/fixtures/git-cloneoptions01.yaml @@ -4,3 +4,4 @@ scm: branches: - master do-not-fetch-tags: true + honor-refspec: true |