问题描述
限时送ChatGPT账号..我有一个基本的 C# 项目,但我想启动一个 ANT 构建(它编译一些非常基本的 Java 代码)并启动一个 junit 测试.如果junit测试失败,我如何从Team Build 2010(基本上是TFS 2010)中找出答案?如果是这样,我将使 TFS 构建失败.
I have a basic C# project, but I want to kick off an ANT build (which compiles some very basic java code) and also fires a junit test. How can I find out from Team Build 2010 (TFS 2010 basically), if the junit test fails? If it does, I will fail the TFS build.
我有构建扩展并且我使用的是 TFS 2010.但是,相关文档不存在.
I have the build extensions and I am using TFS 2010. However, the documentation for this is not existant.
谢谢
推荐答案
您可以使用 Exec Activity 调用 exe 来构建和执行测试.
You can use the Exec Activity to call an exe to build and do the tests.
但是,您可能想要查看 Final Builder,因为它与 Team Foundation Build 2010 集成非常好,并提供了更简单的界面.
However you may want to look at Final Builder as it integrates with Team Foundation Build 2010 realy well and provides a much easyer interface.
这篇关于使用 Team Build Extensions 2010 中的 ANT 构建 Java的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
更多推荐
[db:关键词]
发布评论