I am working with Jenkins to auto build. I call a batch file in jenkins:
call Setup_trunk_01.bat
The code of Setup_trunk_01.bat is:
svn propset svn:externals "https://svn02/vc/disney_kingdom_iphone/branches/maintenance/update12_gungho@90987 trunk" .
svn update .
and I have the error: svn: E230001: Server SSL certificate verification failed: issuer is not trusted
When I call it manually, it works. But I can't change the code of Setup_trunk_01.bat. I think the problem is in the credentials. But I don't know what exactly error to fix.
I guess that your SVN server has is using self-signed SSL certificate for HTTPS. You should contact the system administrator and ask him to apply a valid server certificate that's signed by a trusted certificate authority.
You can also make SVN client ignore this certificate warning by adding --trust-server-cert
command line option to your command. BTW, don't forget to add --non-interactive
option to your commands, too.
If you want to use self-signed certificates: SSH on the Jenkins server and execute once on the command line:
svn list <REPO> --config-dir /var/lib/jenkins/.subversion/
Accept the self-signed certificate permanently. That's it. --config-dir
should point to the .subversion folder of the Jenkins instance.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.