jenkinsci/xshell-plugin — pull request #5 by vsnijders (2012-11-02 09:03: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."

I am not a java developer and don't have the tools to compile this change. I looked up the alternative for getModuleRoot in the [documentation](http://javadoc.jenkins-ci.org/hudson/model/AbstractBuild.html#getWorkspace(\)).
This is also my first commit on github, so I hope I followed the correct workflow for using git.