失败:在jenkins 2.7.4中安装Git插件时

时间:2016-09-15 18:14:14

标签: git jenkins offline

通过转到Jenkins手动使用Git.hpi文件手动安装Git插件时出现以下错误 - >插件管理器 - >高级 - >上传插件。

java.io.IOException: Failed to dynamically deploy this plugin
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1883)
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1640)
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:745)
Caused by: java.io.IOException: Failed to install git plugin
at hudson.PluginManager.dynamicLoad(PluginManager.java:866)
at hudson.PluginManager.dynamicLoad(PluginManager.java:807)
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1879)
... 5 more
Caused by: jenkins.MissingDependencyException: One or more dependencies could not be resolved for git : mailer (1.17), ssh-credentials (1.12), git- client (2.0.0), matrix-project (1.7.1), credentials (2.1.4), workflow-scm-step  (1.14.2), scm-api (1.2)
at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:529)
at hudson.PluginManager.dynamicLoad(PluginManager.java:856)
... 7 more

有人可以告诉这个错误和解决步骤的原因吗? 在此先感谢。

1 个答案:

答案 0 :(得分:0)

Caused by: jenkins.MissingDependencyException: One or more dependencies could not be resolved for git : mailer (1.17), ssh-credentials (1.12), git- client (2.0.0), matrix-project (1.7.1), credentials (2.1.4), workflow-scm-step  (1.14.2), scm-api (1.2)

它说你在那里错过了以下依赖关系:

出于好奇,当你可以通过插件管理器安装它时,为什么要手动安装?如果您从插件管理器安装它,它还会为您安装所有依赖项。