Welcome to MSDN Blogs Sign in | Join | Help

Overview of Team Build

Hi, my name is Khushboo Sharan and I am the Program Manager for the build automation tool in Visual Studio Team Foundation. This is my first blog to you and I have tons to write about Team Build!

 

You may have heard this in all TeamBuild presentations and talks but nevertheless let me repeat it again (because nothing else fits better J).

 One of the goals of Team Build is to provide a ‘build lab out of the box’ experience. As Lori sometime back mentioned– sure you can hit F5 to get that build out but to get a good public ‘team build’ is a very a difficult task - cause you are building all source code in the team project, including changes by the entire development team, on a separate build machine.

 

A typical public build involves many steps -  clean the remote build machine, get the sources from the source control on the build machine, compile, run static analysis, run the build verification or post-build tests and then communicate the build result to the Project Team. Many of you might be doing something similar in your build scripts. What Team Build provides is a very simple  way to kick start this build process – you go through a simple five page wizard and what you generate is a build script.

Here is a screenshot of the wizard which helps you do this.

 

Build Type Creation Wizard

 

This build script automates the entire build process listed above and more. Once you have an out of the box build process running out of Team Build, you can edit the build script in case you need to further customize or extend the process. To provide this end to end integration described above, Team Build integrates seamlessly with other Team System tools like Team Foundation Source Control, Team Foundation Work Item Tracking, and Team Test . 

 

Once the build process is over –a comprehensive report is generated with information about the build result as well as the general health of the build.  Some of the things included in the report are the number of errors and warnings for each build configuration with links to the log files, results of the test runs included in the build, a list of changesets that went into the build and who checked it in (which could be used to detect the cause of failure of a build). Other information like the code coverage of the tests, work items associated with a build are also listed (which could be used to determine the quality of the build). The report has active links to changesets, work items, test results for further details.  

 

Lets take a scenario as an example to illustrate all of this a little better.  A developer has just looked at a work item assigned to him and fixes his code.  While checking into Team Foundation Source Control, he associates the work item with the checkin. Team Build picks up the source for the nightly build and as a post build step updates the ‘Fixed In’ field of the work item with the build number automatically. The build report which is generated lists all the work items which were associated with this build. The tester looks into it to make sure the work item opened by her was resolved in this build and installs the build for further investigation. This is a small example of an integration points between the Team Foundation Source Control, Work Item Tracking Tool and Team Build.

 

The following diagram explains the Team Build flow as described above

Team Build Flow

 

 

 

But what if your organization has a slightly different build process than what Team Build provides out of the box and has some extra build steps?  Fortunately, Team Build can be customized to suit your needs.  The underlying build engine is MSBuild and most of the steps in the build process are MSBuild tasks. All that you need to do is to write an MSBuild task which executes the extra steps and include it in the build script generated by the wizard.  Through some simple editing you can specify the order in which this custom step needs to run.

 

Well - this was a snapshot of what Team Build has to offer, we will be discussing all this in detail in future blogs.  Meanwhile lets hear from you.  Let us know your thoughts/feedback /ideas – whatever they may be! We want to hear it all J

Published Wednesday, March 02, 2005 5:58 AM by Team Foundation
Filed under:

Comments

# re: Overview of Team Build

I'm not running the entire VSTS suite yet - only VS itself and a few addons like Hatteras and such, so please forgive my ignorance: Is Team Build somewhat comparable to ThoughtWorks' CruiseControl.NET where the status of Team Build is being reported on the SharePoint (Foundation) Server? If Team Build breaks, will the responsible programmer get a notification by mail or on another channel? Can I gett reports on the build directly on the TFS web site?

Nice overview, though. I think I understand some more things now :-)
Wednesday, March 02, 2005 7:37 AM by Dag H. Baardsen

# re: Overview of Team Build

Is this team build same as msbuild used in vs 2005 ?
Wednesday, March 02, 2005 7:46 AM by sachit aggarwal

# re: Overview of Team Build

We're ready for it, bring it on. This could really hurt some other build utilities. I hope they get some competition.
Wednesday, March 02, 2005 10:33 AM by SuperJason

# Team Build compared to CruiseControl.NET

Khushboo Sharan, the PM for build automation in VSTF, has posted a new overview of the continuous integration features of Team Foundation. Team Build didn't quite make it for the December CTP, so it's hard to make an accurate comparison...
Wednesday, March 02, 2005 11:47 AM by Amaxo

# New Team System Stuff - 2005-03-02

Wednesday, March 02, 2005 1:57 PM by Rob Caron's Blog

# Team Build blog

Thursday, March 03, 2005 3:10 AM by abhinaba's WebLog

# re: Overview of Team Build

Great CCNET<->Team Build comparison there - extremely useful!

Thx, Khushboo!
Thursday, March 03, 2005 10:59 AM by Dag H. Baardsen

# re: Overview of Team Build

Well Sachit, Team Build is not 'same' as MSBuild but 'uses' MSBuild. MSBuild is the new build engine in VS2005 - Team Build on the other hand is a build automation tool which uses MSBuild to to orchestrate the end to end build process. Each step in the Team Build process is actually an MSBuild task which is invoked as specified in the build script mentioned in my overview above.
Thursday, March 03, 2005 12:14 PM by Khushboo Sharan

# re: Overview of Team Build

Hey Dag - thanks! Glad this was helpful :).
During the build process emails will be sent out whenever a build completes - project members can subscribe to receive these emails and also subscribe others to receive these emails. Links to web reports for the build will be available in the email itself. You can also view these reports in VS.
The project portal will also have reports indicating trends and metrices regarding the general health of the project. Many of the reports will have metrices related to build.
Thursday, March 03, 2005 1:14 PM by Khushboo Sharan

# .::Szőkelizer 128::.

<p>&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://www.brustblog.com/PermaLink,guid,14fdb863-4733-4a0d-a690-4604437c380b.aspx&quot;&gt;NS8.0 és az IE&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://statgep.hu/mra.sx&quot;&gt;Készül a statgép&lt;/a&
Tuesday, March 08, 2005 11:50 AM by RIO - Randektív Informatikai Oldal

# I want to build it, so they will come!

My role as a Developer Evangelist has me on the road a fair bit, meeting development teams, and seeing...
Tuesday, April 12, 2005 2:58 AM by David L's Blog

#

Thursday, April 28, 2005 3:45 AM by Aldo .NET Weblog

#

Thursday, April 28, 2005 3:47 AM by Aldo .NET Weblog

# What are the Build Types, how do I edit them

Tuesday, June 07, 2005 4:25 AM by abhinaba's WebLog

# Another link roundup: Visual Studio Team System

I don't have any really pressing matters to post about, so I'll give another link roundup - my newsgator...
Wednesday, July 06, 2005 12:41 PM by Life, Universe and Everything according to Dirk

# Team Build compared to CruiseControl.NET

Khushboo Sharan, the PM for build automation in VSTF, has posted a new overview of the continuous integration features of Team Foundation. Team Build didn't quite make it for the December CTP, so it's hard to make an accurate comparison...
Thursday, July 14, 2005 11:30 PM by Amaxo

# What are the Build Types, how do I edit them

For people new to Team Build do read Overview of Team Build
Though most people using Team Build easily...
Monday, August 08, 2005 10:17 AM by abhinaba's WebLog

# Team Build blog

I guess the least represented module of Visual Studio Team System on msdn blog&amp;nbsp;was Team Build ....
Monday, August 08, 2005 10:17 AM by abhinaba's WebLog

# First blog is tough

First blog is tough to write. So I think; it took me 6 months after creating the id to come up with this...
Thursday, August 25, 2005 7:09 AM by Gautam Goenka (MSFT)

# Build Type creation and Drop Location

One of the most common issues everyone is running into with Team Build is configuring the Drop Location....
Sunday, August 28, 2005 8:58 AM by I know the answer (its 42)

# Build Type creation and Drop Location

One of the most common issues everyone is running into with Team Build is configuring the Drop Location....
Sunday, August 28, 2005 9:38 AM by I know the answer (its 42)

# Team Build RSS Feed

&amp;lt;Update: After some complains that it is difficult to cut paste code out of the blog, I have zipped...
Friday, April 21, 2006 2:43 PM by I know the answer (it's 42)

# Team Build RSS Feed

&lt;Update: After some complains that it is difficult to cut paste code out of the blog, I have zipped

Thursday, August 09, 2007 11:24 PM by I know the answer (it's 42)

# Team Foundation s WebLog Overview of Team Build | storage bench

# Team Foundation s WebLog Overview of Team Build | work from home

Anonymous comments are disabled
 
Page view tracker