Jenkins报错

[808]There were errors checking the update sites: SSLHandshakeException: sun.secu解决方案

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

image

(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

image

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

解决方案:
进入插件管理->Advanced,修改Update Site的URL,
默认是通过https://updates.jenkins.io/update-center.json进行更新的。此处,将https改为http,修改完成,submit,然后重启Jenkins,问题解决。

代码正确,运行错误

使用dos命令查看看文件,发现文件不存在

路径名可能有特殊字符或空格,这可能会导致cmd无法正确识别路径。你可以尝试使用双引号将路径括起来,或者使用斜杠 "" 替代目录名中的空格。

posted @ 2024-08-24 14:38  藕丝鲜芋  阅读(418)  评论(0)    收藏  举报