Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-17222

Add ability to specify more than one location when using the svn method

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • job-dsl-plugin
    • None

      The SVN plugin supports multiple locations via the UI. The resulting XML contains multiple <hudson.scm.SubversionSCM_-ModuleLocation> nodes within the <locations> node.

      For example:

      ...
      <locations>
          <hudson.scm.SubversionSCM_-ModuleLocation>
              <remote>https://some.repo.com/proj1/trunk</remote>
              <local>project1</local>
          </hudson.scm.SubversionSCM_-ModuleLocation>
          <hudson.scm.SubversionSCM_-ModuleLocation>
              <remote>https://some.repo.com/proj2/branches/qwe</remote>
              <local>project2_qwe</local>
          </hudson.scm.SubversionSCM_-ModuleLocation>
      </locations>
      ...
      

      The job-dsl-plugin could/should also support this.

            daspilker Daniel Spilker
            oesolutions Chris Dore
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: