git - Jenkins Plugin failure error -
i'm getting failure message on adding plugin , tell me why i'm getting error:
hudson.util.ioexception2: failed download http://updates.jenkins-ci.org/download/plugins/credentials/2.1.4/credentials.hpi (redirected to: http://ftp.tsukuba.wide.ad.jp/software/jenkins/plugins/credentials/2.1.4/credentials.hpi) @ hudson.model.updatecenter$updatecenterconfiguration.download(updatecenter.java:822) @ hudson.model.updatecenter$downloadjob._run(updatecenter.java:1184) @ hudson.model.updatecenter$installationjob._run(updatecenter.java:1365) @ hudson.model.updatecenter$downloadjob.run(updatecenter.java:1162) @ java.util.concurrent.executors$runnableadapter.call(executors.java:471) @ java.util.concurrent.futuretask.run(futuretask.java:262) @ hudson.remoting.atmostonethreadexecutor$worker.run(atmostonethreadexecutor.java:110) @ java.lang.thread.run(thread.java:745) caused by: java.io.ioexception: inconsistent file length: expected 928684 got 884511 @ hudson.model.updatecenter$updatecenterconfiguration.download(updatecenter.java:805) ... 7 more
i error few plugins upgrades well.
a workaround download manually (the plugin jpi/hpi file link download should listed in error message). manually fails downloaded (for me in firefox, use download manager, or ie browser instead).
- once downloaded - save the *.hpi / *.jpi file $jenkins_home/plugins directory.
- rename previous plugin, if has defferent extention (e.g, downloding github.hpi, , having github.jpi, still rename github.jpi.old)
- restart jenkins (allthough plugins not require restart)
Comments
Post a Comment