How do I set TeamCity to not produce build artifacts when the build fails?
Asked Answered
V

1

7

How do I set up TeamCity so that it does not publish build artifacts if the build fails because a unit test failed? I'm pretty sure it worked this way prior to version 6.0, but since upgrading to 6.0 it always produces artifacts even if a test fails. I have "Fail build if at least one test failed" checked.

We had an outage with the e-mail notification and I didn't know we had a build problem because it continued producing artifacts.

Vantassel answered 22/3, 2011 at 13:40 Comment(0)
W
6

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

Whoever answered 25/3, 2011 at 8:51 Comment(1)
For a workaround, see this comment: youtrack.jetbrains.com/issue/…Whoever

© 2022 - 2024 — McMap. All rights reserved.