To get build status through environment variable
===

I am using jenkins for continous integration.
  For my build purpose, i triggering email using Ant task. I am not able to find an environment variable to pass ant for sending email build status(success/failure/stable).
i want to know how can i get environment variable for build status?..if not available, what is the alternative option for build status?



Thanks in Advance


varghese