all. When buildstep fail, Can i get trigged and write script to do something, send email or try catch for that. :)
You can use the mail notifier or the irc bot to report on the success or failure of builds.
There is a particularly direct way to do that for particular build steps, but I suspect that the above are sufficient. In any case, they will be able to include information about what steps failed.