我正在尝试添加多个SCM插件,并获得以下连接超时错误。我正在运行2.0版。没有代理设置。
有没有办法获得插件并手动安装?感谢。
hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/multiple-scms/0.6/multiple-scms.hpi (redirected to: http://mirrors.jenkins-ci.org/plugins/multiple-scms/0.6/multiple-scms.hpi)
at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1153)
at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1650)
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1848)
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1624)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketTimeoutException: connect timed out
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$10.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.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.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1105)
... 7 more
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
... 7 more
答案 0 :(得分:4)
您可以在浏览器中下载或在终端中使用wget:
wget http://updates.jenkins-ci.org/download/plugins/multiple-scms/0.6/multiple-scms.hpi
然后去: 经理詹金斯>插件管理器>高级选项卡
向下滚动到上传插件部分,点击选择文件以选择下载的hpi文件,然后按上传。之后重启詹金斯。
我可以在这里没有问题地下载hpi插件,因此可能是网络问题。
答案 1 :(得分:3)
从http://mirrors.jenkins-ci.org/plugins/multiple-scms/0.6/multiple-scms.hpi
下载插件并将其放在$JENKINS_HOME/plugins
目录中并重新启动jenkins。
答案 2 :(得分:3)
我今天遇到了这个问题。原来问题是镜子反应迟钝。下面是一个网页,用于检查哪些镜像正在工作,哪些不是:
答案 3 :(得分:0)
这可能是由于jenkins服务器停机导致的。解决方法?什么都没有...只需稍等一会(1-2小时)即可恢复它们