When I run the svn command line from the Jenkins shell I get this error:
D:\\Jenkins\\jobs\\Merge Trunk to Stable\\workspace\\stable>svn up --trust-server-ce
This may happen even you had accept the certificate.
In Linux, Jenkins use its own username. You can use command sudo su jenkins
switch to jenkins user , then use command cd ~
and ls
to see the jenkins user's root path. For me, it is the jenkins install path (var/lib/jenkins).
You can see .subversion
package in your user package. If you had accept the certificate before, you can see auth
package in .subversion.
Copy the whole .subversion
package to the jenkins install package(jenkins user's root path).
Try it again, use svn up
command in jenkins shell and it would work.
My English is poor, thanks for your reading.
Had same issue with Jenkins and Window 7 . I solved this by go into services and select Jenkins and go to Log-on and enter the administrative credentials and restart the jenkins service.
Hope this solve your issue.