詹金斯Git客户端插件[我无法下载]

时间:2014-11-08 15:32:45

标签: git jenkins jenkins-plugins

我从我的机器上卸载了jenkins jenkins。然后我重新安装了它,但是现在当我尝试下载Git Client Plugin时,它告诉我它失败并向我显示下一个异常。

hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/git-client/1.11.1/git-client.hpi (redirected to: http://mirrors.jenkins-ci.org/plugins/git-client/1.11.1/git-client.hpi)
    at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:791)
    at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1138)
    at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1298)
    at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1116)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: http://mirrors.jenkins-ci.org/plugins/git-client/1.11.1/git-client.hpi
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:756)
    ... 8 more
Caused by: java.io.FileNotFoundException: http://mirrors.jenkins-ci.org/plugins/git-client/1.11.1/git-client.hpi
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)
    at java.net.URLConnection.getHeaderFieldLong(Unknown Source)
    at java.net.URLConnection.getContentLengthLong(Unknown Source)
    at java.net.URLConnection.getContentLength(Unknown Source)
    at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:755)

1 个答案:

答案 0 :(得分:2)

我得到了解决方案,问题是最后一个版本被取消了,但不知怎的,jenkins一直指向它,即使在它的维基上也是如此。我下载了以前版本的插件并手动安装。