2017-08-29 31 views
0

我在安装“Deliver Pipeline Plugin”时遇到了一些问题。依赖项插件“Jquery Plugin”未安装。我收到以下错误:无法安装Jenkin的jquery插件,显示错误消息说sha1不匹配

I am following your Jenkin's tutorial . I am facing some issue while installing "Deliver Pipeline Plugin" .The dependency plugin "Jquery Plugin" not installing . I am getting the following error: 
 

 
java.io.IOException: Downloaded file C:\Program Files (x86)\Jenkins\plugins\jquery.jpi.tmp does not match expected SHA-1, expected 'eOnfdKAq1jTJLA6XJ5qfQiXBY6o=', actual 'DIij6KoUcjAFwoa79NMRslzuINs=' 
 
\t at hudson.model.UpdateCenter.verifyChecksums(UpdateCenter.java:1810) 
 
\t at hudson.model.UpdateCenter.access$1100(UpdateCenter.java:149) 
 
\t at hudson.model.UpdateCenter$InstallationJob.replace(UpdateCenter.java:1963) 
 
\t at hudson.model.UpdateCenter$UpdateCenterConfiguration.install(UpdateCenter.java:1194) 
 
\t at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1680) 
 
\t at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1874) 
 
\t at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1651) 
 
\t at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 
 
\t at java.util.concurrent.FutureTask.run(Unknown Source) 
 
\t at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110) 
 
\t at java.lang.Thread.run(Unknown Source) 
 

 

 
Please help me to resolve this issue.

请帮我解决这个问题。

+0

删除文件'C:\ Program Files文件(x86)的\詹金斯\插件\ jquery.jpi.tmp',然后再试一次 – hayderimran7

回答

-1

上述错误的一个原因是网络连接。 如果你在任何公司网络,并且你没有在jenkins中设置代理,那么你将会得到上述错误。

请打开C:\ Program Files(x86)\ Jenkins \ plugins \ jquery.jpi.tmp并查看文件中写入的内容。

要在jenkins中设置代理,请参阅评论部分中的链接。

问候, 阿尼尔

+0

虽然这个链接可能回答这个问题,最好是包括答案的基本部分,并提供参考链接。如果链接页面更改,则仅链接答案可能会失效。 - [来自评论](/ review/low-quality-posts/18796907) – msparer

+0

Jenkins Doc to setup proxy:https://wiki.jenkins.io/display/JENKINS/JenkinsBehindProxy –

相关问题