I'm trying to use Ant along with Ivy, and am trying to use Ant to do a user-install of ivy. This command works locally (and on the default Ubuntu elastic bamboo image when run as a Script task):
ant -f ${ANT_HOME}/fetch.xml -Ddest=user ivyBut when I try using the Ant build task configured like so:

I keep getting this error in my logs:
Buildfile: ${ANT_HOME}/fetch.xml does not exist!
But I see in the blue log box for the Ant task that ANT_HOME is defined:

I've verified that the fetch.xml file does exist in /opt/apache-ant-1.10.5, so what am I doing wrong?