gpt4 book ai didi

Docker Jenkins 无法加载插件

转载 作者:行者123 更新时间:2023-12-02 17:58:45 25 4
gpt4 key购买 nike

我运行 docker run -p 80:8080 jenkins 并且 Jenkins 正确启动,但几乎所有插件都无法安装。

在日志中,我收到了这样的错误:

SEVERE: Failed to install Folders
java.io.IOException: Failed to dynamically deploy this plugin
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1893)
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1651)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Failed to install cloudbees-folder plugin
at hudson.PluginManager.dynamicLoad(PluginManager.java:874)
at hudson.PluginManager.dynamicLoad(PluginManager.java:813)
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1889)
... 5 more
Caused by: java.io.IOException: Folders Plugin v6.11.1 failed to load.
- You must update Jenkins from v2.60.3 to v2.138.4 or later to run this plugin.
at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:626)
at hudson.PluginManager.dynamicLoad(PluginManager.java:864)
... 7 more

我不确定是什么导致了这种情况,在直接运行 Jenkins 插件之前(不是从 docker 运行),我从来没有遇到过问题。我认为这是一个版本问题,因为它说 You must update Jenkins from v2.60.3 to v2.138.4 or later to run this plugin ,但由于它是官方的 docker 镜像,我很惊讶它不起作用。

最佳答案

我的错,我使用了错误的图像 - 它应该是 docker pull jenkins/jenkins 而不是 docker pull jenkins 。我在 https://github.com/jenkinsci/docker/issues/787https://jenkins.io/blog/2018/12/10/the-official-Docker-image/#official-jenkins-image-to-use-from-docker-hub 中找到了答案。

关于Docker Jenkins 无法加载插件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60323427/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com