我得到了下面的构建错误:
[ERROR] The svn blame command [svn blame --xml --non-interactive -x -w xxxxx.java] failed: svn: E230001: Unable to connect to a repository at URL 'xxx-xxxx.java'
svn: E230001: Server SSL certificate verification failed: certificate issued for a different hostname, issuer is not trusted我正在使用Subversion Edge by Collabnet和jenkins来运行构建。你能帮帮我吗?
发布于 2018-01-31 19:40:52
以下是错误消息的措辞:
svn: E230001: Server SSL certificate verification failed: certificate issued for a different hostname, issuer is not trusted出现“服务器SSL证书验证失败:颁发者不受信任”的错误表示SVN边缘服务器上安装的证书有问题。客户端不信任证书并显示错误。因此,您应该研究CollabNet Subversion边缘服务器上的证书相关问题。
忽略该错误的唯一可能方法是使用--trust-server-cert命令行选项。您还必须添加--non-interactive选项,因为您的CI机器以非交互方式运行Subversion客户端。
如果您使用Subversion 1.9客户端,您还可以使用--trust-server-cert-failures选项,与只能忽略未知或不受信任证书颁发机构颁发的证书的--trust-server-cert选项相比,该选项用于忽略范围更广的无效证书。
https://stackoverflow.com/questions/48534856
复制相似问题