Jenkins安装插件报错解决方法
1.报错场景
按正常方式安装完Jenkins后安装插件会报错如下:
// An highlighted block
java.io.IOException: Downloaded file /var/jenkins_home/plugins/locale.jpi.tmp does not match expected SHA-256, expected 'ey2fLCsUpqj/C9wykCZB/HepqyGjMbubdiTqkAH3BYU=', actual '47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
2020-11-16T07:24:57.111486846Z at hudson.model.UpdateCenter.throwVerificationFailure(UpdateCenter.java:2019)
2020-11-16T07:24:57.111490224Z at hudson.model.Update