我已经在Mac服务器中安装了Jenkins应用程序。当我尝试安装插件时,出现以下故障信息。
java.io.IOException: Failed to dynamically deploy this plugin at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1317) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1116) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104) at java.lang.Thread.run(Thread.java:695) Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:128) at java.util.jar.JarFile.<init>(JarFile.java:136) at java.util.jar.JarFile.<init>(JarFile.java:115) at hudson.ClassicPluginStrategy.getShortName(ClassicPluginStrategy.java:101) at hudson.PluginManager.dynamicLoad(PluginManager.java:418) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1313)
这是什么原因?
插件下载可能失败。插件实际上是zip文件。如果可以自己解压缩插件,则可以尝试。如果已损坏,则可以将其删除并尝试重新安装。