Added ToolInstallation.buildEnvVars()

This provides generic consumer of ToolInstallation to expose
ToolInstallation to the build.
This commit is contained in:
Kohsuke Kawaguchi committed 2012-04-03 14:12:34 -07:00
1 parent dc0bec172f
commit 22e8e1f285
5 files changed
+35 -9

No files matched your search

@@ -169,9 +169,7 @@ public class MavenModuleSetBuild extends AbstractMavenBuild<MavenModuleSet,Maven
Node node = computer.getNode();
if (node != null) {
mvn = mvn.forNode(node, log);
envs.put("M2_HOME", mvn.getHome());
envs.put("PATH+MAVEN", mvn.getHome() + "/bin");
mvn.buildEnvVars(envs);
}
}