jenkins下载插件下载不了,解决办法

2023-10-27

虚拟机运行下载更新jenkins插件失败

jenkins安装更新插件失败,

java.io.IOException: Server returned HTTP response code: 503 for URL: https://get.jenkins.io/plugins/jquery/1.12.4-1/jquery.hpi
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263)
at hudson.model.UpdateCenter U p d a t e C e n t e r C o n f i g u r a t i o n . d o w n l o a d ( U p d a t e C e n t e r . j a v a : 1291 ) C a u s e d : j a v a . i o . I O E x c e p t i o n : F a i l e d t o l o a d h t t p s : / / u p d a t e s . j e n k i n s . i o / d o w n l o a d / p l u g i n s / j q u e r y / 1.12.4 − 1 / j q u e r y . h p i t o / r o o t / . j e n k i n s / p l u g i n s / j q u e r y . j p i . t m p a t h u d s o n . m o d e l . U p d a t e C e n t e r UpdateCenterConfiguration.download(UpdateCenter.java:1291) Caused: java.io.IOException: Failed to load https://updates.jenkins.io/download/plugins/jquery/1.12.4-1/jquery.hpi to /root/.jenkins/plugins/jquery.jpi.tmp at hudson.model.UpdateCenter UpdateCenterConfiguration.download(UpdateCenter.java:1291)Caused:java.io.IOException:Failedtoloadhttps://updates.jenkins.io/download/plugins/jquery/1.12.41/jquery.hpito/root/.jenkins/plugins/jquery.jpi.tmpathudson.model.UpdateCenterUpdateCenterConfiguration.download(UpdateCenter.java:1302)
Caused: java.io.IOException: Failed to download from https://updates.jenkins.io/download/plugins/jquery/1.12.4-1/jquery.hpi (redirected to: https://get.jenkins.io/plugins/jquery/1.12.4-1/jquery.hpi)
at hudson.model.UpdateCenter U p d a t e C e n t e r C o n f i g u r a t i o n . d o w n l o a d ( U p d a t e C e n t e r . j a v a : 1336 ) a t h u d s o n . m o d e l . U p d a t e C e n t e r UpdateCenterConfiguration.download(UpdateCenter.java:1336) at hudson.model.UpdateCenter UpdateCenterConfiguration.download(UpdateCenter.java:1336)athudson.model.UpdateCenterDownloadJob._run(UpdateCenter.java:1893)
at hudson.model.UpdateCenter I n s t a l l a t i o n J o b . r u n ( U p d a t e C e n t e r . j a v a : 2205 ) a t h u d s o n . m o d e l . U p d a t e C e n t e r InstallationJob._run(UpdateCenter.java:2205) at hudson.model.UpdateCenter InstallationJob.run(UpdateCenter.java:2205)athudson.model.UpdateCenterDownloadJob.run(UpdateCenter.java:1867)
at java.util.concurrent.Executors R u n n a b l e A d a p t e r . c a l l ( E x e c u t o r s . j a v a : 511 ) a t j a v a . u t i l . c o n c u r r e n t . F u t u r e T a s k . r u n ( F u t u r e T a s k . j a v a : 266 ) a t h u d s o n . r e m o t i n g . A t m o s t O n e T h r e a d E x e c u t o r RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at hudson.remoting.AtmostOneThreadExecutor RunnableAdapter.call(Executors.java:511)atjava.util.concurrent.FutureTask.run(FutureTask.java:266)athudson.remoting.AtmostOneThreadExecutorWorker.run(AtmostOneThreadExecutor.java:121)
at java.lang.Thread.run(Thread.java:748)
如图
在这里插入图片描述

解决办法

一,有可能是下载源有问题
已知有三个源

https://updates.jenkins.io/update-center.json(或https://updates.jenkins.io/update-center.json)
https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json
http://mirror.esuni.jp/jenkins/updates/update-center.json
具体位置

在这里插入图片描述
在这里插入图片描述

在这里插入图片描述
拉到最后,如下图换源

在这里插入图片描述
办法二,换网络
我整了一下午也没想到这么解决,最后一个技术大牛告诉我,换一下网络试试。
真的换成手机网络好了。开心
在这里插入图片描述

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

jenkins下载插件下载不了,解决办法 的相关文章

随机推荐

  • 京东店铺所有商品API接口(JD整店商品查询API接口)

    可以通过京东店铺所有商品API接口采集店铺所有商品详情页各项数据 包含商品标题 SKU信息 价格 优惠价 收藏数 销量 SKU图 标题 详情页图片等店铺内页面上有的数据均可以拿到 大家都知道 京东的反爬虫机制十分严 而很多时候 没办法高效的
  • 一个99%的人都说不清楚知识点——Spring 事务传播行为

    面试过很多人 大部分都能把事务的四个特性及隔离级别说得七七八八 但当问到 Spring 的传播行为时 就基本上没人能说出个一二三了 我们都知道 一个事务要么成功 要么失败 但当若干个事务配合完成一个复杂任务时 就不能简单的这样一刀切了 我们
  • vim快速跳转快捷键

    快捷键 描述 跳转到括号匹配处 gD 跳转到局部变量的定义处 跳转到光标上次停留处 mx 设置书签 x为a z任意字母 x 跳转到书签处 gt 增加缩进 n gt 增加以下b行的缩进 lt 减少缩进 n lt 减少以下n行的缩进 跳到上一段
  • uni-app修改页面背景色:

    1 设置全局背景色 法一 globalStyle navigationBarTextStyle black navigationBarTitleText 管理 navigationBarTitleText 管理 navigationBarB
  • 在Python中调用和执行JavaScript

    在Python中调用和执行JavaScript 引言 在Web开发中 Python和JavaScript是两种常用的编程语言 Python通常用于服务器端开发 而JavaScript则用于客户端浏览器中的脚本编写 然而 有时候我们需要在Py
  • Kubernetes 证书详解

    K8S 证书介绍 在 Kube apiserver 中提供了很多认证方式 其中最常用的就是 TLS 认证 当然也有 BootstrapToken BasicAuth 认证等 只要有一个认证通过 那么 Kube apiserver 即认为认证
  • PHP自学过程之 运算符与流程控制

    一 PHP的运算符 PHP中有丰富的运算符集 它们中大部分直接来自于C语言 按照不同功能区分 运算符可以分为 算术运算符 字符串运算符 赋值运算符 位运算符 条件运算符 以及逻辑运算符等 当各种运算符在同一个表达式中时 它们的运算是有一定的
  • 算法分析与设计——LeetCode Problem.547 Friend Circles

    问题详情 There are N students in a class Some of them are friends while some are not Their friendship is transitive in natur
  • vue 手动挂载html,vue中的.$mount('#app')手动挂载操作--龙方网络

    在Vue构造函数时 需要配置一个el属性 如果没有没有el属性时 可以使用 mount app 进行挂载 配置了el属性 new Vue el app router 如果没有配置el属性 可以使用手动挂载 mount app new Vue
  • 泊松过程、伽马分布、贝塔分布及狄利克雷分布

    泊松过程 伽马分布 贝塔分布及狄利克雷分布 1 泊松过程 1 1Poisson过程的定义 1 2Poisson过程的应用 2 伽马分布 2 1伽马分布的定义 2 2伽马分布的性质 2 3伽马分布与其他分布的关系 3 贝塔分布 3 1贝塔分布
  • 机器学习十大算法之CART

    一 概述 CART Classification And Regression Tree 即分类回归树算法 它是决策树的一种实现 通常决策树主要有三种实现 分别是ID3算法 CART算法和C4 5算法 CART算法是一种二分递归分割技术 把
  • python线性拟合、不确定性

    1 线性回归 可以直接调用sklearn中的linear model模块进行线性回归 import numpy as np from sklearn linear model import LinearRegression model Li
  • CTP使用

    1 CTP介绍 1 1 CTP简介 综合交易平台CTP Comprehensive Transaction Platform 是由上海期货信息技术有限公司 上海期货交易所的全资子公司 开发的期货交易平台 CTP平台以 新一代交易所系统 的核
  • 温故知新:深入理解Android插件化技术

    现在普通人一听 宿主 第一想到的就是欧美电影里的恐怖画面 甚至感觉瘆得慌 但是在移动开发领域 我们经常会提及的 宿主 却有完全不一样的意义 那就是支持插件的app主体 从2012年插件化概念被提出 到2016年的时候 插件化技术百家争鸣 被
  • RabbitMQ-生产者、消费者简单实现

    QueueingConsumer实现 maven依赖
  • flutter 用 webview_flutter 与 h5 交互

    这里是本地 h5 页面 需要在 pubspec yaml 里添加资源 div style margin top 80px span Flutter发送过来的消息是 span div div div
  • Python五大主要用途+零基础基础入门全攻略

    Python可以做什么 Python的热度毋庸置疑 现在国内 不仅考国家二级计算机证需要学习Python 它甚至出现在了小学生的教材里 那么高度如此高涨的Python 都可以用来做什么呢 目前来说 Python有五大主要用途以及多类其他用途
  • 做不完的事情...

    小赵 化名 最近遇上了难题 他理解不了事务的概念 早晨上班 在公共汽车上也一直思考这个问题 300路上班时间很挤 这时一个衣着前卫 凹凸有致的妙龄女子被挤到了小赵的身前 小赵无可抗拒地停止了对专业问题的思考 而被紧紧靠在身上的这团香艳弄得血
  • Android Studio中启动模拟器时提示HAXM错误的解决方法

    Android Studio中启动模拟器时 会提示HAXM错误 如图1所示 图1 提示HAXM错误 以上错误的提示信息是需要在BIOS中打开 VT x 设置 但是打开该设置后 依然会显示该错误信息 相关链接1 VT x 其中 VT是Virt
  • jenkins下载插件下载不了,解决办法

    虚拟机运行下载更新jenkins插件失败 jenkins安装更新插件失败 java io IOException Server returned HTTP response code 503 for URL https get jenkin