Git选项消失问题
小于 1 分钟
1. 问题描述
今早构建的时候, Jenkins里原本选择分支的Git选项,也就是下图红框内的部分不见了
- 首先看了一下log,看起来是Git的插件挂掉了
2024-08-22 02:32:34.375+0000 [id=73] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Pipeline: GitHub Groovy Libraries v42.v0739460cda_c4 (pipeline-github-lib)
java.io.IOException: Failed to load: Pipeline: GitHub Groovy Libraries (pipeline-github-lib 42.v0739460cda_c4)
- Failed to load: Git plugin (git 5.2.1)
at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:992)
at hudson.PluginManager$2$1$1.run(PluginManager.java:555)
at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:177)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:305)
at jenkins.model.Jenkins$5.runTask(Jenkins.java:1175)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:221)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:120)
at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
2. 解决方案
- 看了一下Jenkins右上角的警告信息,显示需要更新
SSH
插件
- 去插件管理中心下载重启后解决了