Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixes JENKINS-17171 - token macro expansion not working
  • Loading branch information
jodynskisca authored and steve-jansen committed May 13, 2014
1 parent e73efe9 commit 612689f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/plugins/groovy/SystemGroovy.java
Expand Up @@ -75,7 +75,7 @@ public boolean perform(final AbstractBuild<?, ?> build,
new GroovyShell(cl, new Binding(parseProperties(bindings)), compilerConfig);

shell.setVariable("build", build);
shell.setVariable("launcher", launcher);
if (launcher != null) shell.setVariable("launcher", launcher); // simple fix for: https://issues.jenkins-ci.org/browse/JENKINS-17171
shell.setVariable("listener", listener);
shell.setVariable("out", listener.getLogger());

Expand Down

0 comments on commit 612689f

Please sign in to comment.