I'm working on metrics collection, and it would be very useful to know how many builds failed due to tests, compilation, etc. I can collect the status from the build object in the API, but I can't figure out how to determine which step (or steps) failed.
Anyone know how to get this from the API?