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:\Users\Administrator\.jenkins\hudson.model.UpdateCenter.xml,將https修改為http,重啟jenkins

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM