Chris Dore edited a comment on Improvement JENKINS-17222

Yes, it is possible. The following should add a second location:

svn('https://some.repo.com/proj1/trunk', 'project1') {
    it / locations . 'hudson.scm.SubversionSCM_-ModuleLocation' {
    remote 'https://some.repo.com/proj2/branches/qwe'
    local 'project2_qwe'
  }
}

It's similar to the example posted in Justin's comment, however what's in his comment doesn't work.


You should be able to repeat the following for as many locations as you need. However, I don't know if there is a limit to the number of locations that the SVN Jenkins plugin supports.

it / locations . 'hudson.scm.SubversionSCM_-ModuleLocation' {
    remote 'https://repoN'
    local 'N'
}
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to