I've got a matrix build ("multi-configuration") that is building both my program and the associated unit test application (google test, if it matters) on three platforms - Mac, Linux, and Windows. I am successfully building all 6 programs, now I need to run the unit test on all 3 platforms.
What I'm doing right now, is I have a system Groovy script that is the last step in my Build that finds the appropriate workspace and then locates the test app inside the workspace, but I'm having trouble running the test app. If I do the usual Java.lang.string.execute(), there are two problems: 1) It only runs when the slave is the same computer as the master, it says it can't find the executable. I assume it's trying to run the unit test on the master but specifying the path as it exists on the slave. 2) The output from the unit test app isn't showing up in the Jenkins console output. It looks like hudson.Launcher might be the answer here, but I can't figure out how to use it. Or, am I going about this all wrong and there's a much easier way to run a unit test app in a matrix build? Thanks, Chris -- View this message in context: http://jenkins-ci.361315.n4.nabble.com/How-to-execute-application-unit-test-in-matrix-build-tp4678720.html Sent from the Jenkins users mailing list archive at Nabble.com. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.