On Thu, May 1, 2014 at 9:00 PM, Mark Waite <mark.earl.wa...@gmail.com> wrote:
> The machine which is trying to execute your ant.bat file probably does not
> have the Ant bin directory in its path.  Since it can't find the ant.bat
> file, it fails.  There are a few approaches you might consider:
>
> - Modify the PATH on the Windows slave to include the Ant bin directory (the
> location of ant.bat)
> - Configure Jenkins to automatically install ant for you (global
> configuration), then select that specific ant version in your job
> - Start the Windows slave from a batch file that modifies the PATH to
> include the Ant bin directory
>

It might be a little easier to follow things if you add at least 2 jdk
and ant versions in your global config and set their locations in the
node configurations (even if you don't currently need more than one of
each...).  Then the job configuration will give you a version
selection for  the tool versions and if anything isn't found you'll
have a better idea of where the location is controlled.

-- 
   Les Mikesell
     lesmikes...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to