Cannot trigger ant build inside a running tomcat web app Bluemix

Description : 1) Deployed a java web app to tomcat liberty and its configured using delivery pipeline. 2) Build and deploy of the tomcat web app is working fine. 3) Inside the web App, there is a .xml file that which helps in triggering ant build. while we trigger the build ,we get an error as ant: not found.