If this bug is a problem for you, can I suggest that you (a) vote for it on the Jenkins Jira, and (b) on the Jenkins changelog (http://jenkins-ci.org/changelog) community ratings, indicate that you needed to roll back the latest release because of this bug.
Matthew
--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
Since the last update of Jenkins (1.398 -> 1.404) and subversion plugin,
the configuration of http proxy (~/.subversion/servers) had been
completely replaced by the default one.
Do you see that before ?
Regards,
Vincent
We actually switched our slaves over to using svn+ssh recently since
we were seeing the same thing happen. Didn't make the connection with
Jenkins, though. We thought it had to do with another SVN setup change
that we had to make recently (for other reasons, unrelated to
Jenkins).
So, if you don't want to roll back, using the svn+ssh protocol may be
an alternative.
I think that the URL you refer to adds to the first of those. Anyhow, I've tried all that, and the ~/.subversion/auth stuff still gets overwritten sometimes.
This stuff is seriously broken at the moment, at least for some users. Well, I guess it's open source, so enjoy!
> -----Original Message-----
> From: jenkins...@googlegroups.com [mailto:jenkinsci-
> us...@googlegroups.com] On Behalf Of Daniel Carter
> Sent: 01 April 2011 15:22
> To: Jenkins Users
> Subject: Re: SVN Authentication fails on slave node after upgrade to
> jenkins
>
> Does anyone know what this undocumented URL that allows one to enter
> subversion credentials is for?
>
> http://myhost:myport/scm/SubversionSCM/enterCredential
>
> Should we be using this instead of the svn commandline client for
> setting up authentication?
>
--
Unfortunately, entering your credentials into hudson.scm.SubversionSCM.xml does not avoid the JENKINS-8059 problem. Jenkins still overwrites your ~/.subversion/auth/ with the result that using svn from the command line then fails.
From: jenkins...@googlegroups.com [mailto:jenkins...@googlegroups.com]
On Behalf Of Frédéric Camblor
Sent: 01 April 2011 15:34
To: jenkins...@googlegroups.com
Subject: Re: SVN Authentication fails on slave node after upgrade to jenkins
Hi Daniel,
You're right, you should use http://myhost:myport/scm/SubversionSCM/enterCredential to enter your svn credentials and store it in your HUDSON_HOME/hudson.scm.SubversionSCM.xml
While developping scm sync configuration plugin, I noticed subversion plugin is :
- Trying to checkout from svn using HUDSON_HOME/hudson.scm.SubversionSCM.xml
- If it doesn't work, it tries using your ~/.subversion/auth/ content
Drawback of the second one is your should authenticate on your slaves.
PS: beware : if you're using maven release plugin with svnexe scm provider : you will have to provide your svn credentials while releasing. Otherwise, use svnjava scm provider ;)
Frédéric
2011/4/1 Daniel Carter <danthe...@gmail.com>
Does anyone know what this undocumented URL that allows one to enter
subversion credentials is for?
http://myhost:myport/scm/SubversionSCM/enterCredential
Should we be using this instead of the svn commandline client for
setting up authentication?
--
The bug is probably present in Hudson as well. It was introduced in version 1.18 of the Subversion plugin, which was released before the Hudson/Jenkins split. If you do find that it's been fixed in Hudson, please let this know.
It is probably sufficient to downgrade the Subversion plugin in Jenkins to 1.17. That's not a long-term solution, obviously.
Please continue to post what you find (and add to the Jira ticket as appropriate). This bug is causing us grief also.
For folks who are following this thread, please remember to add any relevant information to the https://issues.jenkins-ci.org/browse/JENKINS-8059 as well. You can also watch or vote for this issue.
> -----Original Message-----
> From: jenkins...@googlegroups.com [mailto:jenkinsci-
> us...@googlegroups.com] On Behalf Of Mick
> Sent: 02 April 2011 10:49
> To: Jenkins Users
> Subject: Re: SVN Authentication fails on slave node after upgrade to
> jenkins
>
> I have noticed that turning off the 'Use update' option in the Source
> Code Management section has helped the reliability of my builds.
--
Reading the ticket history, I don’t get the impression that more information is required. There’s even a suggested patch there, and the bug is almost certainly related to the major changes in the subversion plugin that were made in version 1.18 of the plugin. What we’re actually waiting for is one of the Jenkins core developers to take a look at this, and decide what needs to be done.
Jenkins is in many ways an excellent product, it’s free and open source, so I guess I can’t complain too much, but it IS frustrating that this problem, which is a blocker for a number of users, has been around for so long.
From: jenkins...@googlegroups.com [mailto:jenkins...@googlegroups.com]
On Behalf Of Frédéric Camblor
Sent: 04 April 2011 15:33
To: jenkins...@googlegroups.com
Subject: Re: SVN Authentication fails on slave node after upgrade to jenkins
Maybe some important information would be to trace which plugins (and which versions) are installed on your jenkins instance :-)
If I take the scm-sync-configuration plugin example, I can tell I do some black magic with jenkins credentials (not at the job startup though :)) => maybe there are some plugin around there which are acting the same ;)
Frédéric
2011/4/4 <Matthew...@diamond.ac.uk>
I am running a monitor to alert me as soon as somebody (Jenkins) rewrites the credentials in ~/.subversion/auth/svn.simple, and at this point it looks like this happens during the subversion update at the start of a job. I'm still waiting
on more cases to see if that is always the pattern, but it is consistent with what you observe.
For folks who are following this thread, please remember to add any relevant information to the
https://issues.jenkins-ci.org/browse/JENKINS-8059 as well. You can also watch or vote for this issue.
--