无法安装MStest插件:Jenkins

时间:2015-07-16 13:30:16

标签: jenkins jenkins-plugins jenkins-cli jenkins-scriptler

我尝试安装MSTest以显示.trx文件的结果。

当我通过“立即下载”安装并在重新启动后安装时,我的Jenkins需要很长时间才能重新启动,所以我尝试使用Install而不重新启动。

显示以下错误

enter code here

Emma plugin 
      Failure -

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(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Failed to install emma plugin
    at hudson.PluginManager.dynamicLoad(PluginManager.java:473)
    at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1313)
    ... 5 more
Caused by: java.io.IOException: Dependency maven-plugin (1.447) doesn't exist
    at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:480)
    at hudson.PluginManager.dynamicLoad(PluginManager.java:463)
    ... 6 more

MSTest plugin   Failure -

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(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Failed to install mstest plugin
    at hudson.PluginManager.dynamicLoad(PluginManager.java:473)
    at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1313)
    ... 5 more
Caused by: java.io.IOException: Dependency emma (1.29) doesn't exist
    at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:480)
    at hudson.PluginManager.dynamicLoad(PluginManager.java:463)
    ... 6 more

1 个答案:

答案 0 :(得分:0)

这是因为MSTest插件依赖于emma和maven-plugin。我怀疑你在下载这两个依赖项时网络状况不佳 首先,尝试Download Now and Install after Restart但等待更长时间才能成功安装。詹金斯将负责依赖。

或者,
作为替代方案,您可以先安装emma和maven-plugin,然后再安装MSTest。