报错如下:
svn: E230001: Commit failed (details follow):
svn: E230001: Unable to connect to a repository at URL 'https://192.168.0.99/svn/xxx/dat'
svn: E230001: Server SSL certificate verification failed: certificate issued for a different hostname, issuer is not trusted
作为Jenkins服务器的Windows Server的Administrator,有些权限也还是拿不到的,必须要以SYSTEM的身份一劳永逸地获得SVN相关的各种权限,才能解决这个证书权限的问题。具体步骤是:
1. 下载一个叫 PSEXEC 的软件并解压到任意目录 PsExec - Sysinternals | Microsoft Learn
2. 以Administrator身份打开一个CMD窗口
3. cd到PSEXEC.exe所在的目录
4. 运行: PSEXEC -i -s -d CMD
5. 这时候会另外打开一个新的CMD窗口
6. 在新的CMD窗口运行: WHOAMI /USER
7.cmd打开运行窗口,执行以下命令
svn ls https://xxx
xxx是具体的svn项目地址
最后会显示(R)eject, accept (t)emporarily or accept (p)ermanently?
输入p即可
然后根据提示输入svn账户名UserName和密码Password
重启Jenkins
标签:SVN,svn,E230001,CMD,Server,failed,报错,Jenkins From: https://www.cnblogs.com/lyc-icecola/p/18330276