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
I finally managed to solve the problem! What I did is simply put in Jenkins script:
echo p | svn up --username --password
This solved it! since the echo emulated the manual input to accept permanently the certificate.
Root Cause is the fact that Jenkins shell scripts run under the windows service user - thus uses a different place for the user profile cache (in C:\Windows\System32\config\systemprofile\AppData\Roaming\Subversion
instead of %USERPROFILE%\AppData\Roaming\Subversion\
)