首页 > 其他 > 详细

jenken报错Failed to connect to repository

时间:2020-06-04 21:08:05      阅读:35      评论:0      收藏:0      [点我收藏+]

报错的处理:

Failed to connect to repository : Command "git ls-remote -h https://gitlab.example.com/root/test-repo.git HEAD" returned status code 128:
stdout: 
stderr: fatal: unable to access ‘https://gitlab.example.com/root/test-repo.git/‘: Peer‘s certificate issuer has been marked as not trusted by the user.

SSL certificate problem: unable to get local issuer certificate

 

解决办法:

在jenkins服务器中安装git

Yum install –y git

并执行以下命令:

[root@node5 logs]# git config --global http.sslVerify false
————————————————
版权声明:本文为CSDN博主「郑子明」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/reblue520/article/details/88882173

 

jenken报错Failed to connect to repository

原文:https://www.cnblogs.com/gaoyanbing/p/13045609.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!