I’m using Jenkins with TFS and MSBuild, and we’re using Nunit for testing.
I’ve written a Powershell script to find unit test DLLS then pass them to the nunit-console command one at a time. We’re running only about 50 tests, and this is working just fine when I run the PS script at a command line. The average time to finish all of the tests is about 30 seconds.
When I add the Powershell plugin into Jenkins and have Jenkins run the same script, nunit reports the exact same 30 seconds for running the tests, but Jenkins seems to hang for almost exactly 5 minutes during the test phase of the build, this triples our build time and is causing my devs to get grumpy.
Has anybody run into this before? I don’t feel like I’m doing anything special here…
Kyle Howard
Gila LLC
m: 512-294-1067
Configuration Manager
I’m running it on the same node in a powershell window, then copying the code and pasting it into the Jenkins powershell script plugin, and I’m not using the Log Parser plugin at all so far, but it looks like that might be useful.