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
