0

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

当我通过立即下载和重新启动后安装进行安装时,我的 Jenkins 需要很长时间才能重新启动,所以我尝试安装而不重新启动。

它显示以下错误

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
4

1 回答 1

0

这是因为 MSTest 插件依赖于 emma 和 maven-plugin。我怀疑您在下载这两个依赖项时网络状况不佳。
首先,尝试Download Now and Install after Restart但等待更长的时间,直到它成功安装。Jenkins 将处理依赖关系。

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

于 2015-07-16T13:57:36.400 回答