I configured the Jenkins MSTestRunner plugin to use the following path to the MSTest executable: 'C: \ Program Files (x86) \ Microsoft Visual Studio 11.0 \ Common7 \ IDE \ mstest.exe'. However, although this path is correct, assembly is not performed as follows:
cmd.exe /C "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\mstest.exe" "/resultsfile:/resultsfile testresults" /testcontainer:Project.Tests/bin/Debug/Project.Tests.dll && exit %%ERRORLEVEL%% 'C:\Program' is not recognized as an internal or external command, operable program or batch file.
What is the problem, I thought it would be the usual way to configure the MSTestRunner plugin, since mstest.exe is installed under Visual Studio, which is usually installed again in the "C: \ Program Files (X86)" folder? How do I get around this?
source share