Skip to content
Permalink
Browse files

[FIXED JENKINS-25275] Set up correct GROOVY_HOME env. variable

  • Loading branch information...
vjuranek committed Oct 25, 2014
1 parent c918f5b commit d36abd1f2d481b5a4c474a8625eda61becf6c438
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/main/java/hudson/plugins/groovy/Groovy.java
@@ -83,6 +83,7 @@ public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListen
Map<String,String> envVars = build.getEnvironment(listener);
hudson.plugins.groovy.GroovyInstallation installation = getGroovy();
if(installation != null) {
installation = installation.forNode(Computer.currentComputer().getNode(), listener);
envVars.put("GROOVY_HOME", installation.getHome());
}

0 comments on commit d36abd1

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