Garen Parham
added a comment - 2011-12-31 00:17 - edited From looking at the source code here:
https://github.com/jenkinsci/managed-scripts-plugin/blob/master/src/main/java/org/jenkinsci/plugins/managedscripts/ScriptBuildStep.java
It looks like the cause of this problem is the method used to determine the working dir (which is deprecated):
FilePath workingDir = build.getModuleRoot();
From reading JENKINS-4640 and this old thread:
http://markmail.org/message/qqbs7dugyse2swhe
Presumably this would be fixed by using a newer method, getWorkspace()