Skip to content

Commit

Permalink
[FIXED JENKINS-25275] Set up correct GROOVY_HOME env. variable
Browse files Browse the repository at this point in the history
  • Loading branch information
vjuranek committed Oct 25, 2014
1 parent c918f5b commit d36abd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/hudson/plugins/groovy/Groovy.java
Expand Up @@ -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());
}

Expand Down

0 comments on commit d36abd1

Please sign in to comment.