jenkins-job-builder/tests/scm/fixtures/git-polling-path-restriction01.xml
Chris Burroughs 1fe7f9cc83 configure git PathRestriction as an extension
The git plugin restructured PathRestriction moved to an extension in
2013 or so.  Backwards compatibility code
(GitSCMBackwardCompatibility) kept the old xml working, but it is
cleaner if what jenkins-job-builder emits matches what jenkins uses.

Change-Id: I7f34a650586ba394eed4db345d8ce831d5791559
2015-07-14 10:42:25 -04:00

45 lines
1.6 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>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>**</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>false</useShallowClone>
<ignoreNotifyCommit>false</ignoreNotifyCommit>
<extensions>
<hudson.plugins.git.extensions.impl.PathRestriction>
<includedRegions>jenkins_jobs
tests</includedRegions>
</hudson.plugins.git.extensions.impl.PathRestriction>
<hudson.plugins.git.extensions.impl.WipeWorkspace/>
</extensions>
</scm>
</project>