Unity Test Tools Integration Tests with Jenkins

I am trying to use the Unity Test Tools integration tests with Jenkins. I am using the following command:

"C:\Program Files (x86)\Unity\Editor\Unity.exe" -batchmode -projectPath C:\MyPath\MyProject -executeMethod UnityTest.Batch.RunIntegrationTests -testscenes=MyScene -targetPlatform=StandaloneWindows -resultsFileDirectory=C:\MyPath\MyProject\

Now, this works 100% perfectly when I run it from the command line.

However, when I use this same exact command in Jenkins, it never terminates.

The build succeeds, IntegrationTests.exe is launched, but it never completes and never times out.

I am running this on a Windows 7 machine with UAC and Windows Firewall disabled. Any ideas?

Have you tried adding the -quit option at the end, ensuring that the program terminates when it’s done with everything else?