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

Multiple SVN repositories on the same server erroneously get the same credentials

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • subversion-plugin
    • None
    • Hudson 1.355
      JDK 1.5.0_17
      CentOS

      We have separate SVN repositories for our projects. All of them are on the same server and may have different credentials. As a key for storing credentials, Hudson only uses the server part of the URL instead of the whole URL. As a result, we only ever get one entry in the config file of the Subversion Plugin for the key "https://myserver:443", but we would need sepearate credential entries for e. g. "https://myserver/repos/foo", "https://myserver/repos/bar" etc.

      <entry>
          <string>&lt;https://myserver:443&gt; Subversion repository</string>
          <hudson.scm.SubversionSCM_-DescriptorImpl_-PasswordCredential>
              <userName>myuser</userName>
              <password>mypass</password>
          </hudson.scm.SubversionSCM_-DescriptorImpl_-PasswordCredential>
      </entry>
      

      I'm creating this ticket as suggested on the mailing list. See the related discussion:

      http://hudson.361315.n4.nabble.com/Problem-with-different-Subversion-credentials-td2075037.html

            Unassigned Unassigned
            unguiculus unguiculus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: