Asmoran
Asmoran

Reputation: 45

TeamCity API - Determine which build step(s) caused the failure

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?

Upvotes: 0

Views: 207

Answers (1)

cyberskunk
cyberskunk

Reputation: 1772

Basically, you cannot. But you might configure several build configurations and set up dependencies between them - this approach provides you with some statistics and statistics charts, both project- and build configuration-level.

Upvotes: 1

Related Questions