I've configured Jenkins to run nunit-console as described here: Execute NUnit with Jenkins and here: How do you run NUnit tests from Jenkins?
I've added "Execute batch command" as a build step and entered the following values:
%nunit-console% .\BBA\Sources\Projects\BbaUnitTests\bin\BbaUnitTests.dll /xml=.\BBA\Sources\BuildResults\nunit-result.xml /timeout=10000
Everytime I run a build, everything works ok until it gets to this build step, this line shows up and it runs indefinitely and no xml file is generated:
C:\BuildServerFiles\workspace\BBA-71>.\BBA\Sources\Projects\RngUnitTests\bin\BbaUnitTests.dll /xml=.\BBA\Sources\BuildResults\nunit-result.xml /timeout=10000
However, when I execute:
nunit-console .\BBA\Sources\Projects\BbaUnitTests\bin\BbaUnitTests.dll /xml=.\BBA\Sources\BuildResults\nunit-result.xml /timeout=10000
from command prompt it works ok, the xml file gets generated ok. What could be the possible issue here?