
The repo plugin supports 'cleanFirst' since plugin v1.11.0
9c7e81cbf0
Add support inside jenkins-job-builder to set that value.
Change-Id: Ifae1bad0f0fb4a56fc0f030038eefbcc8cd4ad6f
33 lines
1.2 KiB
XML
33 lines
1.2 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>
|
|
<cleanFirst>true</cleanFirst>
|
|
<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><?xml version="1.0" encoding="UTF-8"?>
|
|
<manifest>
|
|
<project path="external/project" name="org/project"
|
|
remote="gerrit" revision="master" />
|
|
</manifest>
|
|
</localManifest>
|
|
<ignoreProjects class="linked-hash-set">
|
|
<string>static-project</string>
|
|
<string>unimportant-project</string>
|
|
</ignoreProjects>
|
|
</scm>
|
|
</project>
|