Skip to content
Browse files

fixes JENKINS-17171 - token macro expansion not working

  • Loading branch information
kartoflanka authored and steve-jansen committed May 13, 2014
1 parent e73efe9 commit 612689f61c596a6065c833fa036b3a9c3d2ae689
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/hudson/plugins/groovy/
@@ -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:
shell.setVariable("listener", listener);
shell.setVariable("out", listener.getLogger());

0 comments on commit 612689f

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