Jenkins 詹金斯;“构建管道插件”;由于缺少jQuery插件,插件安装失败

Jenkins 詹金斯;“构建管道插件”;由于缺少jQuery插件,插件安装失败,jenkins,Jenkins,由于以下原因,尝试安装“Build Pipeline Plugin v1.5.6”失败: hudson.util.IOException2:未能从下载 (已重定向至: ) 在 hudson.model.UpdateCenter$UpdateCenter配置.download(UpdateCenter.java:1172) 在hudson.model.UpdateCenter$DownloadJob.\u运行(UpdateCenter.java:1678) 在 hudson.model.Updat

由于以下原因,尝试安装“Build Pipeline Plugin v1.5.6”失败:

hudson.util.IOException2:未能从下载 (已重定向至: ) 在 hudson.model.UpdateCenter$UpdateCenter配置.download(UpdateCenter.java:1172) 在hudson.model.UpdateCenter$DownloadJob.\u运行(UpdateCenter.java:1678) 在 hudson.model.UpdateCenter$InstallationJob.\u运行(UpdateCenter.java:1876) 位于hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1652) 在 Executors$RunnableAdapter.call(Executors.java:511) 在java.util.concurrent.FutureTask.run(FutureTask.java:266)处 hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110) 在java.lang.Thread.run(Thread.java:745)处,由以下原因引起: java.io.IOException:文件长度不一致:应为3003464,但 只得到872533分 hudson.model.UpdateCenter$UpdateCenter配置.download(UpdateCenter.java:1155) ... 还有7个

jQuery插件作为插件安装的一部分,在任何地方都找不到


谷歌搜索解决方案并没有带来丰硕的成果。也许Jenkins社区知道如何解决这个问题?

看起来像是从下载插件的.hpi文件,然后重新启动Jenkins解决了这个问题


目前尚不清楚插件安装失败的原因。

这似乎是暂时的网络问题。当插件安装过程中发生这种情况时,詹金斯似乎陷入了困境。当这种情况发生时,您可以重新启动Jenkins并重试安装,或者按照您所做的操作,然后上载HPI(然后重新启动)。这个建议实际上也解决了我的问题,但后来我发现问题出在访问Jenkins的FTP站点上。当我切换到我的4G热点时,一切都很好。你相信吗?我尝试了5次安装插件,第5次尝试成功。我已经连接了千兆对称无竞争光纤,所以它不是我的网络。不安装和安装之间没有任何变化(10分钟后除外)。因此,如果失败,请继续重试。