How can CruiseControl.Net fail a build based on changing metrics?

Posted by skolima on Stack Overflow See other posts from Stack Overflow or by skolima
Published on 2009-07-09T11:23:30Z Indexed on 2010/03/22 5:11 UTC
Read the original article Hit count: 344

I would like CruiseControl.Net to fail a build when some code metrics change in a 'wrong' direction, i.e. code coverage decreases or Gendarme defect count increases. The Gendarme metrics are already tracked in report.xml file (because they are presented on web dashboard graphs), the code coverage is only reported on build status page (and saved in build report xml).

How can I achieve this?

© Stack Overflow or respective owner

Related posts about cruisecontrol.net

Related posts about code-metrics