views:

106

answers:

1

Hi

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.

I have the build extensions and I am using TFS 2010. However, the documentation for this is not existant.

Thanks

+1  A: 

You can use the Exec Activity to call an exe to build and do the tests.

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.

MrHinsh