TeamCity: launch FxCop after build

I think I lack a valuable understanding with TeamCity 5.0. Why does FxCop have a separate build runner? I prefer my build server to run everything right away (compile, run unit tests, FxCop, etc.). The problem is that I don’t see how to add more than a separate Run Run for a specific project, so it seems to me that I need to add a second TeamCity project depending on another project using the sln2008 build runner, or I can just go a long route and build everything in MSBuild. Am I losing something, which should be obvious? Can sln2008 Build Runner be configured to enable FxCop code analysis?

+3
source share
1 answer

I think most users want their builds with tests to be as fast as possible. Other things, such as coverage, code analysis, metrics, most likely, should not be performed often. It is enough to run them once a day, because their value is the statistics collected over time.

As for several build planners for each configuration configuration function, this is one of the most voted in our tracker: http://youtrack.jetbrains.net/issue/TW-3660?query=multiple+build+runners , it has very good chances be implemented in future versions.

+4
source

Source: https://habr.com/ru/post/1733819/


All Articles