mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
Added ToolInstallation.buildEnvVars()
This provides generic consumer of ToolInstallation to expose ToolInstallation to the build.
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user