summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2018-05-14 12:41:24 -0700
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2018-05-14 14:10:55 -0700
commit8f16101ad17e3117fa7c37e27d2291008f3f5ea2 (patch)
tree4157977e7f65e2aa9c9b446de9e7b89b640eac30
parenta45c528ebfd14095b303270231eb86033258ea65 (diff)
Disable git tagging during Jenkins git clone
Even with per-build-tag set to false, JJB 1.6.2 does not seem to remove 'Create tag for each build' from the git-scm settings. Though the option is deprecated it is still supported, so setting both of these should disable tagging when Jenkins clones a git repo. Change-Id: I5977149ad581df67d938ce2b46794d47c5e06fe3 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
-rw-r--r--jjb/global/releng-macros.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/jjb/global/releng-macros.yml b/jjb/global/releng-macros.yml
index b7335fafa..5b403ab2c 100644
--- a/jjb/global/releng-macros.yml
+++ b/jjb/global/releng-macros.yml
@@ -107,6 +107,7 @@
- 'origin/$BRANCH'
timeout: 15
per-build-tag: false
+ skip-tag: true
shallow-clone: false
use-author: false
ignore-notify: false
@@ -129,6 +130,7 @@
refspec: ''
branches:
- 'refs/heads/{branch}'
+ per-build-tag: false
skip-tag: true
wipe-workspace: true
submodule:
@@ -139,6 +141,8 @@
name: git-scm-openstack
scm:
- git: &git-scm-openstack-defaults
+ per-build-tag: false
+ skip-tag: true
url: '$GIT_BASE'
branches:
- 'origin/$BRANCH'