I've made some more progress and encountered a new strange error. I am creating a Launcher and calling pwd() and cmds(), passing the folder and application I wish to run.
When I call the Launcher's start() function, it fails like so: FATAL: Cannot run program "AllTests" (in directory "/Users/Shared..blahblah"): error=2, No such file or directory java.io.IOException: Cannot run program "AllTests" (in directory "/Users/Shared..blahblah"): error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:470) at hudson.Proc$LocalProc.<init>(Proc.java:244) at hudson.Proc$LocalProc.<init>(Proc.java:216) at hudson.Launcher$LocalLauncher.launch(Launcher.java:773) etc. When I look in the specified directory, there is most definitely a file named "AllTests" sitting there with execute permissions for owner, group, and world. What am I missing? Thanks, Chris -- View this message in context: http://jenkins-ci.361315.n4.nabble.com/How-to-execute-application-unit-test-in-matrix-build-tp4678720p4678732.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.