关于在使用kubectl 部署jenkins时在界面安装插件报错“java.io.IOException: Jackson 2 API Plugin v2.10.0 failed to load. ”
java.io.IOException: Pipeline: Declarative v1.3.2 failed to load.- You must update Jenkins from v2.60.3 to v2.73.3 or later to run this plugin.- Pipeline: Shared Groovy Libraries v2.12 failed to l...
·
java.io.IOException: Pipeline: Declarative v1.3.2 failed to load.
- You must update Jenkins from v2.60.3 to v2.73.3 or later to run this plugin.
- Pipeline: Shared Groovy Libraries v2.12 failed to load. Fix this plugin first.
at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:626)
at hudson.PluginManager$2$1$1.run(PluginManager.java:516)
at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
at jenkins.model.Jenkins$7.runTask(Jenkins.java:1090)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
必须从jenkins v2.60升级到v2.138.
造成这一步的原因是镜像不是使用最新的版本导致的,直接使用如下命令会报错
docker pull jenkins:latest 这是错误的
首先在docker官方仓库网页搜索jenkins的镜像。注意,要安装的是 jenkins/jenins:lts,不是jenins,后者已经被官方废弃了。
应该安装如下
docker pull jenkins/jenkins:lts
更多推荐
已为社区贡献6条内容
所有评论(0)