0

尝试通过 Jenkins mstest 插件命令行运行多个测试类别会出错

命令行扩展:/testsettings:Test\Tests\Local.testsettings /category:"!FAIL&!LIVE" 提供 控制台输出:cmd.exe /C "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE \mstest.exe" /resultsfile:Test\Tests\TestResults\Endpoints\Tests.trx /testsettings:Test\Tests\Local.testsettings /category:!FAIL&!LIVE /testcontainer:Test\Tests\Tests\bin\Endpoints\Tests .dll && exit %%ERRORLEVEL%% 错误:'!LIVE' 未被识别为内部或外部命令,

通过 cmd 手动运行:“C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\mstest.exe” /resultsfile:Test\Tests\TestResults\Endpoints\Tests.trx /testsettings:Test\Tests\Local .testsettings /category:!FAIL&!LIVE /testcontainer:Test\Tests\Tests\bin\Endpoints\Tests.dll

这在通过 cmd 运行但不适用于 jenkins 插件时有效

如何让 jenkins 插件不去掉引号?或者有没有其他方法。

4

1 回答 1

0

我认为这是与https://issues.jenkins-ci.org/browse/JENKINS-13412相关的错误

于 2013-08-28T17:41:54.820 回答