SCM repo: add no-tags option
Change-Id: I5c448776277afa4acbec71fa0a6f38286fe3401b Signed-off-by: Lucas Dutra Nunes <ldnunes@ossystems.com.br>
This commit is contained in:
parent
993e82a409
commit
856fc9b354
jenkins_jobs/modules
tests
@ -586,6 +586,7 @@ def repo(parser, xml_parent, data):
|
||||
(default true)
|
||||
:arg bool force-sync: Continue sync even if a project fails to sync
|
||||
(default false)
|
||||
:arg bool no-tags: Don't fetch tags (default false)
|
||||
:arg str local-manifest: Contents of .repo/local_manifest.xml, written
|
||||
prior to calling sync (optional)
|
||||
|
||||
@ -617,6 +618,7 @@ def repo(parser, xml_parent, data):
|
||||
("reset-first", 'resetFirst', False),
|
||||
("quiet", 'quiet', True),
|
||||
("force-sync", 'forceSync', False),
|
||||
("no-tags", 'noTags', False),
|
||||
("local-manifest", 'localManifest', ''),
|
||||
]
|
||||
|
||||
|
@ -24,6 +24,7 @@
|
||||
<resetFirst>false</resetFirst>
|
||||
<quiet>false</quiet>
|
||||
<forceSync>false</forceSync>
|
||||
<noTags>false</noTags>
|
||||
</scm>
|
||||
<scm class="hudson.plugins.git.GitSCM">
|
||||
<configVersion>2</configVersion>
|
||||
|
@ -14,6 +14,7 @@
|
||||
<resetFirst>true</resetFirst>
|
||||
<quiet>false</quiet>
|
||||
<forceSync>true</forceSync>
|
||||
<noTags>true</noTags>
|
||||
<localManifest><?xml version="1.0" encoding="UTF-8"?>
|
||||
<manifest>
|
||||
<project path="external/project" name="org/project"
|
||||
|
@ -12,6 +12,7 @@ scm:
|
||||
reset-first: true
|
||||
quiet: false
|
||||
force-sync: true
|
||||
no-tags: true
|
||||
local-manifest: |
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<manifest>
|
||||
|
Loading…
x
Reference in New Issue
Block a user