Jenkins SVN checkout 报错

海鲜小恶魔 2014-03-31 05:45:17
用Jenkins调用bat

Execute Windows batch command:

d:
cd D:\Debug
d:\debug\BuildServerGUI.exe -nogui

其中BuildServerGUI.exe调用SVN checkout. Jenkins 控制台报错

svn: E230001: Unable to connect to a repository at URL 'https://sami.cdt.int.thomsonreuters.com/svn/pdt_ws/trunk'
3/31/2014 8:59:04 AM svn: E230001: Unable to connect to a repository at URL 'https://sami.cdt.int.thomsonreuters.com/svn/pdt_ws/trunk'
svn: E230001: Server SSL certificate verification failed: issuer is not trusted
3/31/2014 8:59:04 AM svn: E230001: Server SSL certificate verification failed: issuer is not trusted

但是在cmd下单独运行BuildServerGUI.exe -nogui时svn checkout 没有任何问题。请问Jenkins里对svn checkout有任何特殊的设定么(没有使用Jenkins的SVN checkout,是在BuildServerGUI.exe进行了SVN checkout)?
...全文
2426 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
eunice_zrx 2015-12-24
  • 打赏
  • 举报
回复
你这个不就是给jekins部署的项目的svn配个权限么。。。如果证书不行那就改成用户名密码的方式。。。
xory 2015-08-19
  • 打赏
  • 举报
回复
jenkins运行在system用户下 命令行运行在administrator用户下 证书使用上会有区别 我将Jenkins的用户改为 administrator,运行就OK 目前还没找到更好的解决办法 或许要修改system用户的安全策略
micro19890 2015-02-12
  • 打赏
  • 举报
回复
楼主问题解决了吗?
OceanBreaker 2014-07-08
  • 打赏
  • 举报
回复
如果还是不行, 给你个大招: http://www.php.net/manual/en/function.svn-auth-set-parameter.php#104300
OceanBreaker 2014-07-08
  • 打赏
  • 举报
回复
svn co 你的地址 --username 你的账号 --password 你的密码 --trust-server-cert --non-interactive --no-auth-cache 按照这个格式试试
Prelacyso 2014-07-08
  • 打赏
  • 举报
回复
楼主解决了没。。。我也遇到了这个问题

50,531

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧