jenkins中的声纳XML插件安装失败

时间:2016-04-25 14:30:32

标签: sonarqube jenkins-plugins devops

当我手动尝试在jenkins中安装sonar-xml-plugin-1.4.1.hpi插件时出现以下错误:

Error:

Failure -
java.io.IOException: Failed to dynamically deploy this plugin
    at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1383)
    at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1161)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: Illegal dependency specifier META-INF/lib/xml-squid-1.4.1.jar META-INF/lib/jaxen-1.1.4.jar META-INF/lib/xalan-2.7.2.jar META-INF/lib/sslr-core-1.20.jar META-INF/lib/sslr-squid-bridge-2.6.jar META-INF/lib/xercesImpl-2.8.1.jar META-INF/lib/serializer-2.7.2.jar META-INF/lib/sslr-xpath-1.20.jar
    at hudson.PluginWrapper$Dependency.<init>(PluginWrapper.java:218)
    at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:231)
    at hudson.PluginManager.dynamicLoad(PluginManager.java:483)
    at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1379)
    ... 5 more

我是否需要先安装任何依赖项?还是我想念的其他东西?

1 个答案:

答案 0 :(得分:1)

你在哪里找到这个档案? SonarQube XML plugin是SonarQube的插件,应安装在SonarQube服务器上,而不是Jenkins服务器上。