Skip to content

Commit

Permalink
JENKINS-34056 not to resolve variables since the script content is ca…
Browse files Browse the repository at this point in the history
…ched
  • Loading branch information
orctom committed Apr 6, 2016
1 parent 5aa29b3 commit b4bc2e7
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -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);
Expand Down

0 comments on commit b4bc2e7

Please sign in to comment.