Skip to content

Commit

Permalink
Use workspace root instead of module directory for running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
blazee committed Jun 5, 2013
1 parent 7c3c2bd commit 0545f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/jenkinsci/plugins/MsTestBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListen
}

try {
int r = launcher.launch().cmds(args).envs(env).stdout(listener).pwd(build.getModuleRoot()).join();
int r = launcher.launch().cmds(args).envs(env).stdout(listener).pwd(build.getWorkspace()).join();
return r == 0;
} catch (IOException e) {
Util.displayIOException(e, listener);
Expand Down

0 comments on commit 0545f01

Please sign in to comment.