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

得意时要看淡,失意时要看开。不论得意失意,切莫大意;不论成功失败,切莫止步。志得意满时,需要的是淡然,给自己留一条退路;失意落魄时,需要的是泰然,给自己觅一条出路jenkins下载插件下载不了,解决办法,希望对大家有帮助,欢迎收藏,转发!站点地址:www.bmabk.com,来源:原文

虚拟机运行下载更新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
具体位置

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

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

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

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

文章由极客之音整理,本文链接:https://www.bmabk.com/index.php/post/156053.html

(0)
飞熊的头像飞熊bm

相关推荐

发表回复

登录后才能评论
极客之音——专业性很强的中文编程技术网站,欢迎收藏到浏览器,订阅我们!