Skip to content
Browse files

[FIXED JENKINS-42382] Add PATH+ANT to buildEnvVars(...)

This ensures that Ant's bin directory ends up on the PATH when using
the Pipeline tool step. Note that Jenkins' environment variable
management will handle converting "/bin" on Windows if needed, we do
not need to do that explicitly.
  • Loading branch information
abayer committed Feb 28, 2017
1 parent e9815c3 commit 27ec2ff4dae68ceeaeba9d558f154e4767e5e3eb
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/main/java/hudson/tasks/
@@ -375,8 +375,10 @@ public String getAntHome() {
return getHome();

public void buildEnvVars(EnvVars env) {
env.put("PATH+ANT", getHome() + "/bin");


0 comments on commit 27ec2ff

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