Permalink
Browse files

[FIXED JENKINS-12260] fix wrong workspace determination

  • Loading branch information...
imod committed Dec 31, 2011
1 parent ace4d5a commit 2530ddcde68eb2cba973f169a11f0a1cf865fc33
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/jenkinsci/plugins/managedscripts/ScriptBuildStep.java
@@ -112,7 +112,7 @@ public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListen
listener.getLogger().println("executing script '" + buildStepId + "'");
File tempFile = null;
try {
FilePath workingDir = build.getModuleRoot();
FilePath workingDir = build.getWorkspace();
EnvVars env = build.getEnvironment(listener);
Launcher lastBuiltLauncher = getLastBuiltLauncher(build, launcher, listener);
String data = buildStepConfig.content;

0 comments on commit 2530ddc

Please sign in to comment.