jenkins-job-builder/tests/scm/fixtures/repo001.xml
Simon Kuhnle 3607646fac Prevent creation of empty parameters for Repo
Only manifest-url is required for the Repo plugin, all other parameters
are optional, or should at least not generate empty tags, because the
actual 'repo' tool will be called with empty parameters, leading to
a failed execution.

This was introduced with a34bd67ef7.
Before that change, empty strings did not generate XML entries.

Change-Id: Ia66845cb71b01c8e26285ed2eabb1ef32622e3e1
Story: 2000727
2017-01-26 10:59:38 +01:00

32 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<project>
<scm class="hudson.plugins.repo.RepoScm">
<manifestRepositoryUrl>https://example.com/project/</manifestRepositoryUrl>
<jobs>3</jobs>
<depth>0</depth>
<currentBranch>false</currentBranch>
<resetFirst>true</resetFirst>
<quiet>false</quiet>
<forceSync>true</forceSync>
<noTags>true</noTags>
<trace>true</trace>
<showAllChanges>true</showAllChanges>
<manifestBranch>stable</manifestBranch>
<manifestFile>repo.xml</manifestFile>
<manifestGroup>drivers</manifestGroup>
<destinationDir>build</destinationDir>
<repoUrl>https://internal.net/projects/repo</repoUrl>
<mirrorDir>~/git/project/</mirrorDir>
<localManifest>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;manifest&gt;
&lt;project path=&quot;external/project&quot; name=&quot;org/project&quot;
remote=&quot;gerrit&quot; revision=&quot;master&quot; /&gt;
&lt;/manifest&gt;
</localManifest>
<ignoreProjects class="linked-hash-set">
<string>static-project</string>
<string>unimportant-project</string>
</ignoreProjects>
</scm>
</project>