| Problems with SVN credentials and password parameters after upgrade [message #1010834] |
Mon, 18 February 2013 05:06  |
Reinhard Nägele Messages: 21 Registered: January 2013 |
Junior Member |
|
|
After testing Hudson 3 for a while we finally upgraded and are now facing a number of problems which did not occur during test. The difference is that for testing we used the embedded Jetty while the production system runs on Tomcat.
After the upgrade all password parameters in our jobs had wrong default values and SVN credentials did no longer work and had to be entered again for each job. With more than 300 jobs this is not exactly nice.
It looks like SVN credentials are saved differently now. After entering credentials again, an additional entry made it into subversion.credentials.
Reinhard
|
|
|
| Re: Problems with SVN credentials and password parameters after upgrade [message #1010851 is a reply to message #1010834] |
Mon, 18 February 2013 05:42   |
sidharth lala Messages: 6 Registered: January 2013 |
Junior Member |
|
|
Hi Reinhard,
It would be really great, if you add some error logs you are getting while performing the below steps.
I assume you are running the Hudson instance as a windows service. This issue could be caused because when a windows runs a service on start up, it executes as a "SYSTEM" user. So, the Hudson instance is executing as a "SYSTEM" user, and the certificate verification occurred on your username/password. Also if you go under the windows services window and use your login/password combination (See attached image). Under windows services right click Hudson -> properties -> Log On tab and login using "This account:" and specify your username/password combo.
HTH,
Regards,
Sidharth
[Updated on: Mon, 18 February 2013 05:43] Report message to a moderator
|
|
|
|
|
|
|
|
| Re: Problems with SVN credentials and password parameters after upgrade [message #1012016 is a reply to message #1011800] |
Wed, 20 February 2013 12:48   |
|
What version of hudson and the svn plugin did you upgrade from? I believe I might have found a bug where the <entry>
<string><http://mysvnhost:80> Subversion repository</string>
<hudson.scm.SubversionSCM_-DescriptorImpl_-PasswordCredential>
<userName>...</userName>
<password>...</password>
</hudson.scm.SubversionSCM_-DescriptorImpl_-PasswordCredential>
</entry> part actually gets stored in the hudson.scm.SubversionSCM.xml file instead of the credentials file where it should be.
/**
* @author Steven Christou
* @dev Hudson-ci
*/
[Updated on: Wed, 20 February 2013 12:48] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.01967 seconds