custom failure kinds

Hey guys!

I'm wondering if it is possible to register "custom failure kinds" in TeamCity or if there is a plugin / workaround to achive that.

Here's the use case: our build fails occasionelly and every time we need to review the log / test list to find out the reason. I would like to configure TC so that if it finds some particualar text in the log then the build is marked with some highlighted "failure kind". TC seems to be doing something like that already, for example when the test fail we can see that the build failed due to the tests, when compilation fails we see extra text that it's compilation problem, etc.

Cheers!

1 comment
Comment actions Permalink

Hi

Just released TeamCity 7.0 has a new feature that does exactly that.
Build failure conditions allow to fail a build based on metrics changes, or specific messages in a build log. You can also set custom build status, as required.
Capture.PNG

0

Please sign in to leave a comment.