Microsoft Visual Studio Team Foundation Server 2013 Build Extensions
The Team Foundation Build Extensions provide the ability to execute Ant or Maven 2 builds from Team Foundation Server 2013 and publish the results of the build along with any associated JUnit test results back to Team Foundation Server. This release is compatible with Team Foundation Server 2013 only. For Team Foundation Server 2005, Team Foundation Server 2008 and Team Foundation Server 2010 see previous release here.
You must have the following installed on the same server that is hosting the Team Foundation Build Agent:
In addition, you should configure the appropriate environment variables (i.e. JAVA_HOME, ANT_HOME, M2_HOME) as per the relevant install guidance for Ant and Maven.
The Team Foundation Server 2013 Build Extensions should be installed on the Team Foundation Build Agent machine. As part of installation the following components are installed:
Note: The publishing of JUnit test results to tfspreview.com is not supported however this functionality is currently in development.
Once you have installed the build extensions on the necessary build agent machines, you must create a build definition which makes use of them. The easiest way to do this is to use Team Explorer Everywhere for Microsoft Visual Studio Team Foundation Server 2013 to create the build definition.
When talking with Team Foundation Server 2013, an MSBuild based Ant or Maven build definition will make use of the UpgradeTemplate workflow process to execute a TFSBuild.proj script which actually calls Ant or Maven. This allows the entire process to be easily edited from Eclipse or from the command line.