jenkins 下载插件失败处理办法

你的名字 2023-06-27 03:26 140阅读 0赞

jenkins 下载插件失败处理办法

jenkins 下载插件失败,提示:

  1. java.io.IOException: Downloaded file /app/jenkins_home/plugins/jacoco.jpi.tmp does not match expected SHA-1, expected 'CtK02wHdFOxTutqhUQzmue6uvpg=', actual 'YGO05utKyaaFzpGCgCE95GS0WsU='
  2. at hudson.model.UpdateCenter.verifyChecksums(UpdateCenter.java:1783)
  3. at hudson.model.UpdateCenter.access$1100(UpdateCenter.java:147)
  4. at hudson.model.UpdateCenter$InstallationJob.replace(UpdateCenter.java:1934)
  5. at hudson.model.UpdateCenter$UpdateCenterConfiguration.install(UpdateCenter.java:1178)
  6. at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1653)
  7. at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1848)
  8. at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1624)
  9. at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  10. at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  11. at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
  12. at java.lang.Thread.run(Thread.java:745)
  13. 查找资料,说是中国源的问题。需要换个源就可以,换源的方法:
  14. jenkins->系统管理->管理插件->高级
  15. 选择升级站点

format_png

把:http://updates.jenkins-ci.org/update-center.json

换成:http://mirror.esuni.jp/jenkins/updates/update-center.json

镜像地址查询:

http://mirrors.jenkins-ci.org/status.html

吾生也有涯,而知也无涯。 个人博客:www.hkgov.cn 个人空间:www.ccav9.cn

发表评论

表情:
评论列表 (有 0 条评论,140人围观)

还没有评论,来说两句吧...

相关阅读

    相关 Jenkins修改下载地址

    Jenkins本身不提供很多功能,我们可以通过使用插件来满足我们的使用。例如从Gitlab拉取代码,使用Maven构建项目等功能需要依靠插件完成。jenkins默认采用官网的插