jenkinsci/xshell-plugin — pull request #6 by vsnijders (2012-11-02 17:47:57+00:00)
Title: 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."