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

时间秒杀一切 提交于 2019-12-07 01:47:00

问题


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.


回答1:


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



来源:https://stackoverflow.com/questions/5392181/how-do-i-set-teamcity-to-not-produce-build-artifacts-when-the-build-fails

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!