-
Bug
-
Resolution: Duplicate
-
Trivial
-
None
-
Platform: PC, OS: Linux
I'm trying to setup one of our systems but running into troubles with the
subversion module. We have a subversion server with several repositories (let's
say a, b and c). For identification we are using a public-key mechanism with a
single user for each repository (user a_owner for repository a, b_owner for
repository b and c_owner for repository c). But I'm not able to setup a per
repository username with hudson (only one username per subversion server).
For the mentioned system I have to checkout two repositories (the project and an
optional module). Setting up the first scm-module (repos a with owner_a) works
fine but setting up the second scm-module (repos b with owner_b) overwrites the
username of the first scm-module.
After saving all changes my .hudson/hudson.scm.SubversionSCM.xml contains just
one entry for the specified Subversion-Server with the second username
(owner_b). The job configuration itself(.hudson/jobs/build_a/config.xml) does
not contain the username.
Regards
Bernhard
[.hudson/hudson.scm.SubversionSCM.xml]
<hudson.scm.SubversionSCM_-DescriptorImpl>
<repositoryBrowser>hudson.scm.SubversionRepositoryBrowser</repositoryBrowser>
<generation>7</generation>
<credentials class="hashtable">
<entry>
<string>svn+ssh://repository</string>
<hudson.scm.SubversionSCM_-DescriptorImpl_-SshPublicKeyCredential>
<userName>b_owner</userName>
<passphrase></passphrase>
<id>a53b0a6a2b03cb90</id>
</hudson.scm.SubversionSCM_-DescriptorImpl_-SshPublicKeyCredential>
</entry>
</credentials>
</hudson.scm.SubversionSCM_-DescriptorImpl>
[.hudson/jobs/build_a/config.xml]
<scm class="hudson.scm.SubversionSCM">
<locations>
<hudson.scm.SubversionSCM_-ModuleLocation>
<remote>svn+ssh://repository/projects/SVN/a/trunk</remote>
<local>project</local>
</hudson.scm.SubversionSCM_-ModuleLocation>
<hudson.scm.SubversionSCM_-ModuleLocation>
<remote>svn+ssh://repository/projects/SVN/b/trunk</remote>
<local>project/b</local>
</hudson.scm.SubversionSCM_-ModuleLocation>
</locations>
<useUpdate>true</useUpdate>
</scm>
- duplicates
-
JENKINS-1379 SVN credentials are keyed on hostname only
- Resolved