当我尝试下载任何插件时出现以下错误。这是一个新的发展,似乎并没有更早发生。我使用 brew 安装了 Jenkins。我尝试了多次重新安装,但似乎没有任何效果。
我还注意到,无论插件如何,我的实际 SHA-256 值始终是 '47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='。让我觉得我的机器生成 SHA 的方式有误。
java.io.IOException: Downloaded file /Users/madhav/.jenkins/plugins/trilead-api.jpi.tmp does not match expected SHA-256, expected 'aRsCZA5PqYAxMhX6G+AXjA7yZArlzU0+MCEUEo1oVd8=', actual '47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
at hudson.model.UpdateCenter.throwVerificationFailure(UpdateCenter.java:2025)
at hudson.model.UpdateCenter.verifyChecksums(UpdateCenter.java:2060)
at hudson.model.UpdateCenter$InstallationJob.replace(UpdateCenter.java:2239)
at hudson.model.UpdateCenter$UpdateCenterConfiguration.install(UpdateCenter.java:1343)
at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1872)
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2153)
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1843)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:118)
at java.base/java.lang.Thread.run(Thread.java:834)
我试图生成*.jpi.tmp我.jenkins文件夹中所有文件的校验和并得到不同的校验和。还有所有那些空的文件。
madhav@Madhavs-MacBook-Pro.local /Users/madhav/.jenkins/plugins
% shasum -a 256 structs.jpi.tmp
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 structs.jpi.tmp
madhav@Madhavs-MacBook-Pro.local /Users/madhav/.jenkins/plugins
% shasum -a 256 workflow-durable-task-step.jpi.tmp
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 workflow-durable-task-step.jpi.tmp