Details
-
Bug
-
Status: Resolved (View Workflow)
-
Blocker
-
Resolution: Fixed
-
None
-
jenkins 1.627
mstestrunner-plugin 1.2.0
Description
Job step configuration has not changed and upating plugin to last 1.2.0 results in a build failure with this message :
Path To MSTest.exe: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\MSTest.exe
Result file was not found so no action has been taken. file:/E:/Jenkins/workspace/DataEngine/DATAFEED.Ping/DATAFEED.Ping/DATAFEED.Tests.trx
FATAL: No test files was found
Build step 'Run unit tests with MSTest' marked build as failure
Configuration is as in the attached file.
Downgrading back to v1.1.2 restores the successfull job execution with unit tests run.
thanks for your help on that.
I have the same issue. The workaround for me is change the step to a "Execute windows batch command" and use the whole mstest command line, for example:
"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\mstest.exe" /testcontainer:"%WORKSPACE%\bin\your.dll" /resultsfile:"%WORKSPACE%\results.trx"