jenkins-job-builder/tests/scm/fixtures/git003.xml
Somay Jain b7f491897c Support for more extensions and options in Git plugin
Added the support for the following -
* strategy and ff_mode in merge before build extension
* more options for repository browsers
* sparse checkout path extension
* ignore commits with certain messages extension
* force polling using workspace extension
* force push option for git publisher

Change-Id: I1fd5b73de32f3a4c10c89dacdddb377378c4128d
2015-07-13 18:47:20 +05:30

50 lines
1.8 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/>
<userMergeOptions>
<mergeRemote>repo_name</mergeRemote>
<mergeTarget>branch_name</mergeTarget>
<mergeStrategy>recursive</mergeStrategy>
<fastForwardMode>FF_ONLY</fastForwardMode>
</userMergeOptions>
<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.DisableRemotePoll/>
<hudson.plugins.git.extensions.impl.WipeWorkspace/>
</extensions>
<browser class="hudson.plugins.git.browser.RhodeCode">
<url>http://github.com/foo/example.git</url>
</browser>
</scm>
</project>