为什么 Jenkins 更新中心不显示最新的插件版本?

Why isn't Jenkins update center showing latest plugin versions?

我将插件 Manager/Advanced 选项卡下的更新站点设置为: http://updates.jenkins-ci.org/update-center.json

我没有使用更新中心插件。

当我尝试更新声明式管道插件时,我的版本是 1.3.2,它只允许我降级到 1.3。

我需要将其更新到 1.3.4.1 以解决安全问题。我读过手动安装插件是有风险的。为什么我在更新中心看不到最新的插件版本?

谢谢

下午好。从技术上讲,该插件需要 Jenkins 2.121.1 或更高版本,但我建议您升级到 Jenkins 2.166(最新,稳定 post)。然后,您的 URL 可能会起作用,但最好在获取更新时使用 https。

使用...

https://updates.jenkins.io/update-center.json

https://updates.jenkins-ci.org/update-center.json

您要查找的版本在.json 文件中。升级自己的 Jenkins 服务器后,我在插件管理器中验证了“Pipeline: Declarative”是 1.3.4.1 版本。