现象:使用Jenkins自带插件可以检出http或者HTTPS的svn地址,但是在使用svn命令无法检出HTTPS的地址,报错Server SSL certificate verification failed: certificate issued for a different hostname, issuer is not trusted
解决办法:
如果你的本地svn版本大于1.6,你搜到的–trust-server-cert已经过时了,使用–non-interactive --trust-server-cert-failures="unknown-ca,cn-mismatch,expired,not-yet-valid,other"解决这个问题
例如:svn checkout %SVN_URL% %SVN_DIR% --non-interactive --trust-server-cert-failures=“unknown-ca,cn-mismatch,expired,not-yet-valid,other” --username xxxx --password 123
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)