]
Nick Boldt updated JBIDE-12945:
-------------------------------
Affects Version/s: 4.0.0.CR1
Migrate jbosstools-docs-nightly job to use git sources instead of
svn
---------------------------------------------------------------------
Key: JBIDE-12945
URL:
https://issues.jboss.org/browse/JBIDE-12945
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: Build/Releng
Affects Versions: 4.0.0.CR1
Reporter: Nick Boldt
Assignee: Isaac Rooskov
Fix For: 4.0.0.CR1
Attachments: git-repo-filtering-jenkins.png, multiple-git-repos-jenkins.png
This job needs to be tied to multiple git repos:
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevS...
For an example of how to do a job w/ multiple git repos as source, see this one:
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevS...
NOTE: You must set three advanced fields (each SCM entry has TWO *Advanced* buttons when
configuring in the browser) for each repo to avoid collisions when fetching:
!multiple-git-repos-jenkins.png!
If you want to edit the config.xml file offline, the code looks like this:
{code}
<hudson.plugins.git.GitSCM>
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<name/>
<refspec/>
<
url>git://github.com/jbosstools/jbosstools-base.git</url>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>origin/master</name>
</hudson.plugins.git.BranchSpec>
</branches>
<disableSubmodules>false</disableSubmodules>
<recursiveSubmodules>false</recursiveSubmodules>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
<authorOrCommitter>false</authorOrCommitter>
<clean>false</clean>
<wipeOutWorkspace>false</wipeOutWorkspace>
<pruneBranches>false</pruneBranches>
<remotePoll>false</remotePoll>
<ignoreNotifyCommit>false</ignoreNotifyCommit>
<buildChooser
class="hudson.plugins.git.util.DefaultBuildChooser"/>
<gitTool>Default</gitTool>
<submoduleCfg class="list"/>
<relativeTargetDir>sources/base</relativeTargetDir>
<reference/>
<excludedRegions/>
<excludedUsers/>
<gitConfigName/>
<gitConfigEmail/>
<skipTag>false</skipTag>
<includedRegions/>
<scmName>base</scmName>
</hudson.plugins.git.GitSCM>
{code}
You can also set filters to only watch the repo for specific paths instead of the whole
repo:
!git-repo-filtering-jenkins.png!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: