ant.bat is not recognized as an internal or external command, operable program or batch file. Build step Invoke Ant marked build as failure Finished: FAILURE
How do I fix it?
This is obvious that your job can not find ant.bat in the path.
I can try to help more if you explain your setup. i.e. is it a standalone jenkins server or a distributed environment. What OS is jenkins hosted on (I am assuming windows since you are looking for ant.bat) and how are you trying to invoke ant in the job.