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

SVN credentials: not possible to use different subversion repositories on one host

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • subversion-plugin
    • None
    • Platform: All, OS: All

      we have the following problem:

      We're using multiple Subversion repositories (each of them has its own
      username/password) on one host. Hudson adds the SVN credentials after filling
      the 'enterCredential' form into the hudson.scm.SubversionSCM.xml file. But
      within this file username and password are bound to the host and not to the
      repository URL. Thus Hudson uses the same credentials for every repository - but
      consequently it's working in just one case.

      e.g.

      my repos
      --------
      repos.mycompany.com/repo1
      repos.mycompany.com/repo2
      repos.mycompany.com/repo3

      hudson.scm.SubversionSCM.xml
      ----------------------------
      <credentials class="hashtable">
      <entry>
      <string><https://repos.mycompany.com:443&gt;Repo Security</string>
      <hudson.scm.SubversionSCM_-DescriptorImpl_-PasswordCredential>
      <userName>build-repo3</userName>
      <password>*************************</password>
      </hudson.scm.SubversionSCM_-DescriptorImpl_-PasswordCredential>
      </entry>
      </credentials>

            Unassigned Unassigned
            clamonsch clamonsch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: