jenkins插件管理提示_jenkins插件管理提示“update information obtained:不可用ago”

论坛 期权论坛 编程之家     
选择匿名的用户   2021-6-2 20:09   1476   0

jenkins插件管理遇到两个错误

(1)插件管理页面提示:There were errors checking the update sites:IOException:Unable to tunnel through proxy.Proxy returins "HTTP/1.1 400"

(2)插件管理页面提示:There were errors checking the update sites: SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

查到的解决方法是同一个:

进入插件管理->Advanced,修改Update Site的URL,路径为“http://updates.jenkins.io/update-center.json”,修改完成,submit,然后checknow。问题解决。

注:第一个问题使用该方法一直未解决,重新下载jenkins,放置在tomcat下,启动tomcat,遇到第二个问题,使用该方法,立即解决了。

附录:

(未实践的方式:)或可修改C:\Users\Administrator\.jenkins\hudson.model.UpdateCenter.xml,将https修改为http,重启jenkins

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP