Did you configure ant location in the Manage Jenkins / Configure System / Tool 
locations?

-- Sami

Schalk Neethling <sneethl...@mozilla.com> kirjoitti 10.3.2012 kello 22.12:

> Hey all,
> 
> Quick question regarding ant and Jenkins. So, I am getting the following 
> error : "Execute failed: java.io.IOException: Cannot run program" at the 
> first step in my Ant build step. When I run the same Ant target via the 
> terminal as the jenkins user it executes without a problem. This leads me to 
> believe that there is a difference between running Ant directly via the 
> terminal and running Ant from within a Jenkins build.
> 
> What is different between executing from the terminal directly and having the 
> Ant target executed from a jenkins build? Is there some config I might be 
> missing?
> 
> Thanks,
> Schalk

Reply via email to