Configure ReSharper build to only fail on error severity issues

Answered

I tried setting up a ReSharper build with TeamCity. My intend is, that this build only fails, when there are any inspection errors. With inspection errors I mean those ones, which I configured in the TeamSettings file to be of inspection severity error. I configured a failure condition: "Fail build if number of inspection errors is more than 0" as described on your page.

However it looks like in TeamCity all inspection issues (independent of their severity) are treated as errors.

How can I configure the TeamCity build to only consider issues of severity level "error"?

5
1 comment

Hello Stefan,

We have the related request in our tracker: https://youtrack.jetbrains.com/issue/TW-21471, please vote and see comments. As of now warning-level inspections can be turned off using inspection profile.

0

Please sign in to leave a comment.