Please sign in to comment.
Use getWorkSpace instead of getModuleRoot to set the working directory
Some SCMs (e.g. SVN) support checking out multiple modules into the same workspace. In that case the getModuleRoot is not deterministic anymore. Even if only one module is checked out, the Module Root is not necessarily the same as the Work Space directory. So explicitly use getWorkSpace to conform to the documented behavior: "the current working directory of the command execution is always the job's workspace root."
- Loading branch information...
Showing with 2 additions and 2 deletions.