Post build hook

I have a requirement to capture the output of a build, such as task name (which was run), time taken, status etc.

I am building a plugin that takes this data and logs it to Graphite. I am comfortable with how to capture the status (successful or failure), as per mrhakis post, but how do I get more meta-data than this? Is there something in the Gradle API that I can use?