Sorry - I'm too stupid for this - it don't work in my script ... maybe you can tell me my fault:

following script should create a job with three svn-locations but it results in the config.xml at the bottom of this comment:

job {
  name 'myJobName'
  scm {
    svn('svn://repo1', 'folderRepo1') {
      it / locations / 'hudson.scm.SubversionSCM_-ModuleLocation' {
        remote 'svn://repo2'
        local 'folderRepo2'
      }
      it / locations / 'hudson.scm.SubversionSCM_-ModuleLocation' {
        remote 'svn://repo3'
        local 'folderRepo3'
      }
    }
  }
}

<?xml version="1.0" encoding="UTF-8"?><project>
    <actions/>
    <description/>
    <keepDependencies>false</keepDependencies>
    <properties/>
    <canRoam>true</canRoam>
    <disabled>false</disabled>
    <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
    <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
    <triggers class="vector"/>
    <concurrentBuild>false</concurrentBuild>
    <builders/>
    <publishers/>
    <buildWrappers/>
    <scm class="hudson.scm.SubversionSCM">
        <locations>
            <hudson.scm.SubversionSCM_-ModuleLocation>
                <remote>svn://repo3</remote>
                <local>folderRepo3</local>
            </hudson.scm.SubversionSCM_-ModuleLocation>
        </locations>
        <excludedRegions/>
        <includedRegions/>
        <excludedUsers/>
        <excludedRevprop/>
        <excludedCommitMessages/>
        <workspaceUpdater class="hudson.scm.subversion.UpdateUpdater"/>
    </scm>
</project>
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: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to