e53a05ac39
Adds default Openstack jobs for a given project name into Jenkins To envoke add a section as follows to your site manifest: class { "jenkins_jobs": site => "openstack", projects => ["project1", "project2"] } Now using xml building blocks! Change-Id: If4cacba91d3dc22207e53413543e5bcfcfb0b541
35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
<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>git://github.com/<%= site %>/<%= project %>.git</url>
|
|
</hudson.plugins.git.UserRemoteConfig>
|
|
</userRemoteConfigs>
|
|
<branches>
|
|
<hudson.plugins.git.BranchSpec>
|
|
<name>**</name>
|
|
</hudson.plugins.git.BranchSpec>
|
|
</branches>
|
|
<disableSubmodules>false</disableSubmodules>
|
|
<recursiveSubmodules>false</recursiveSubmodules>
|
|
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
|
<authorOrCommitter>false</authorOrCommitter>
|
|
<clean>false</clean>
|
|
<wipeOutWorkspace>true</wipeOutWorkspace>
|
|
<pruneBranches>false</pruneBranches>
|
|
<remotePoll>false</remotePoll>
|
|
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
|
|
<gitTool>Default</gitTool>
|
|
<submoduleCfg class="list"/>
|
|
<relativeTargetDir></relativeTargetDir>
|
|
<reference></reference>
|
|
<excludedRegions></excludedRegions>
|
|
<excludedUsers></excludedUsers>
|
|
<gitConfigName></gitConfigName>
|
|
<gitConfigEmail></gitConfigEmail>
|
|
<skipTag>false</skipTag>
|
|
<scmName></scmName>
|
|
</scm>
|