如何将 TeamCity 设置为在构建失败时不生成构建工件?
如何设置 TeamCity,以便在由于单元测试失败而导致构建失败时它不会发布构建工件?我很确定它在 6.0 版本之前是这样工作的,但自从升级到 6.0 后,即使测试失败,它也总是会产生工件。我检查了“如果至少一项测试失败,则构建失败”。
我们的电子邮件通知发生了中断,我不知道我们遇到了构建问题,因为它继续产生工件。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请观看/投票此问题:http://youtrack.jetbrains.net/issue/TW-12194
Please watch/vote for this issue: http://youtrack.jetbrains.net/issue/TW-12194