Skip to content
Browse files

JENKINS-34056 not to resolve variables since the script content is ca…

  • Loading branch information
orctom committed Apr 6, 2016
1 parent 5aa29b3 commit b4bc2e72cee147614bf3a80fa443e02b628b7392
@@ -25,8 +25,7 @@ public static ScriptContent getScriptContent(File script, Map<String, String> va
scriptFileName = script.getName();
scriptLastModified = modified;

String content = Util.loadFile(script);
scriptContent = Util.replaceMacro(content, variables);
scriptContent = Util.loadFile(script);
isChanged = true;
return new ScriptContent(scriptContent, isChanged);

0 comments on commit b4bc2e7

Please sign in to comment.
You can’t perform that action at this time.