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

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:UsersAdministrator.jenkinshudson.model.UpdateCenter.xml,将https修改为http,重启jenkins

原文地址:https://www.cnblogs.com/Noul/p/10916342.html