7d44c58aa2
Use the extensions style configuration for setting the SCM Git clean configuration. With this format we deprecate the older (clean: bool) configuration format and replace it with this format: clean: after: bool before: bool The older configuration is still supported so users who did not update their YAML files can upgrade without updating all their YAML files first. Change-Id: I1cfc0e2951c2b4de5e67bcb8abdf0b8c070e7fc6 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
43 lines
1.5 KiB
XML
43 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<project>
|
|
<scm class="hudson.plugins.git.GitSCM">
|
|
<configVersion>2</configVersion>
|
|
<userRemoteConfigs>
|
|
<hudson.plugins.git.UserRemoteConfig>
|
|
<name>origin</name>
|
|
<refspec>+refs/heads/*:refs/remotes/origin/*</refspec>
|
|
<url>https://github.com/openstack-infra/jenkins-job-builder.git</url>
|
|
<credentialsId>43ed1990-46e5-4ed0-bfda-8d83e5cdd65f</credentialsId>
|
|
</hudson.plugins.git.UserRemoteConfig>
|
|
</userRemoteConfigs>
|
|
<branches>
|
|
<hudson.plugins.git.BranchSpec>
|
|
<name>master</name>
|
|
</hudson.plugins.git.BranchSpec>
|
|
</branches>
|
|
<excludedUsers/>
|
|
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
|
|
<disableSubmodules>false</disableSubmodules>
|
|
<recursiveSubmodules>false</recursiveSubmodules>
|
|
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
|
<authorOrCommitter>false</authorOrCommitter>
|
|
<wipeOutWorkspace>true</wipeOutWorkspace>
|
|
<pruneBranches>false</pruneBranches>
|
|
<remotePoll>false</remotePoll>
|
|
<gitTool>Default</gitTool>
|
|
<submoduleCfg class="list"/>
|
|
<relativeTargetDir/>
|
|
<reference/>
|
|
<gitConfigName/>
|
|
<gitConfigEmail/>
|
|
<skipTag>false</skipTag>
|
|
<scmName/>
|
|
<useShallowClone>true</useShallowClone>
|
|
<ignoreNotifyCommit>false</ignoreNotifyCommit>
|
|
<extensions>
|
|
<hudson.plugins.git.extensions.impl.CleanCheckout/>
|
|
<hudson.plugins.git.extensions.impl.WipeWorkspace/>
|
|
</extensions>
|
|
</scm>
|
|
</project>
|