How to install TeamCity so as not to create build artifacts when the build fails?

How to configure TeamCity so that it does not publish assembly artifacts if the assembly failed because the unit test failed? I am pretty sure that it worked this way to version 6.0, but since upgrading to 6.0 it always produces artifacts, even if the test fails. I have "Fail build if at least one test fails."

We had a failure with an email notification, and I did not know that we had a build problem because it continued to produce artifacts.

+7
source share
1 answer

Please see / vote for this issue: http://youtrack.jetbrains.net/issue/TW-12194

+6
source

All Articles