简体   繁体   English

由于缺少jQuery插件,Jenkins的“构建管道插件”插件安装失败

[英]Jenkins “Build Pipeline Plugin” plug-in installation fails due to missing jQuery plug-in

Trying to install "Build Pipeline Plugin v1.5.6" fails due to: 由于以下原因,尝试安装“构建管道插件v1.5.6”失败:

hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/jquery/1.11.2-0/jquery.hpi (redirected to: http://ftp.tsukuba.wide.ad.jp/software/jenkins/plugins/jquery/1.11.2-0/jquery.hpi ) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1172) at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1678) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1876) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1652) 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: Inconsistent file length: expected 3003464 but only got 872533 at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1155) ... 7 more hudson.util.IOException2:无法从http://updates.jenkins-ci.org/download/plugins/jquery/1.11.2-0/jquery.hpi下载(重定向至: http://ftp.tsukuba.wide .ad.jp / software / jenkins / plugins / jquery / 1.11.2-0 / jquery.hpi ),位于hudson.model.UpdateCenter $ UpdateCenterConfiguration.download(UpdateCenter.java:1172),位于hudson.model.UpdateCenter $ DownloadJob._run (UpdateCenter.java:1678)在hudson.model.UpdateCenter $ InstallationJob._run(UpdateCenter.java:1876)在hudson.model.UpdateCenter $ DownloadJob.run(UpdateCenter.java:1652)在java.util.concurrent.Executors $位于hudson.remoting.AtmostOneThreadExecutor $ Worker.run(AtmostOneThreadExecutor.java:110)的java.util.concurrent.FutureTask.run(FutureTask.java:266)的RunnableAdapter.call(Executors.java:511)在java.lang.Thread .run(Thread.java:745)原因:java.io.IOException:不一致的文件长度:预期为3003464,但在hudson.model.UpdateCenter $ UpdateCenterConfiguration.download(UpdateCenter.java:1155)上只有872533 ... ...还有7

The jQuery plug-in is nowhere to be found as part of the plug-in installation... 在插件安装中找不到jQuery插件...

Googling for a workaround did not give fruitful results. 谷歌搜索一种变通办法并没有取得丰硕的成果。 Maybe the Jenkins community knows how to workaround this? 也许詹金斯社区知道如何解决此问题?

Looks like downloading the plug-in's .hpi file from the FTP site and uploading it via the Jenkins UI followed by restarting Jenkins resolved the issue... 好像是从FTP站点下载插件的.hpi文件并通过Jenkins UI上载该文件,然后重新启动Jenkins解决了该问题...

It is unclear why the plug-in installation fails otherwise. 目前尚不清楚为什么插件安装会失败。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM