Insert Environment variables to ant script from Yaml file

Hi Team,

i am running Ant script from the pipeline, I need to send few environment variables to build.xml.

how can i mention those values?

Regards,
madhu