Welcome to Manicprogrammer Sign in | Join | Help

Team Build 101 (Part 2 of 2)

This is article part two. For part one click here.

We must now check to see if our team build is ok. Just right-click the team build type and click Build Team Project <YourProjectName>.

A Team build will then start and it will guide you through any errors that may arise. It will show you compilation errors too if they exist. You´ll probably spend some time here tweaking things til´ your team build compiles succesfully. When it does you are almost 100% set.

Remember those requirements? No? I´ll refresh your memory:

  1. Launch the Team Build on every check-in.
  2. Get the latest source code in the server.
  3. Build the website solution.
  4. Unit test the website solution.
  5. If everything goes well, zip the built website files and place it in the test site /archived folder with the zip name being: ProjectName_Major_Minor_Build_Release.zip. (this one I borrowed the idea of Douglas Rohm)
  6. If everything goes well copy all the built website files to the test site folder, so the test site always reflect the latest check-ins.
  7. I had to have a way to check the team builds for all our projects without having to look in VS 2005, in two ways:
    1. I wanted to be notified by e-mail.
    2. I wanted RSS Feeds for every team build so I can get notified by RSS Bandit.

We have already covered all the strikethrough items. A few more to go yet. Let´s get the Continuous Integration requirement first (Launch the Team Build on every check-in).

This requiremente can´t be achieved by using TFS alone. You have a couple options: you can use BisSubscribe.exe to start the build (but this solution is beyond the scope of this article) or you can use a nice, easy-to-use application built by Notion Solutions, Inc. called Team CI. This application let´s you specify a Team build in a Team project that should have Continuous Integration enabled for it (it even let´s you specify a delay for the check-ins after which the team build is started). The UI is as shown below.

Now I had to test it, so I just checked-out one source code file in my solution and added a comment to it, then checked it in. The build was started one minute later. One thing to note, though, is that the TeamCI service must be runnning correctly on the Build Server.

As I checked the file in, one minute later, my build was started and finished successfully. Well, the Continuous Integration part is done with. But how to monitor the Team Builds. Here is where another great piece of software comes to place. Since I blogged about this tool earlier I won´t get into much detail here. Read more about it here.

Well, that´s pretty much it. You probably will have to do a few tweaks, but hopefully this article helped to get things a little more straight about creating a Team Build for a website and deploying it to a test server.

Click here for part one of this article...

Technorati Tags: - - - - - - - -

Site Meter
Published Friday, September 01, 2006 7:17 PM by heynemann

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# while(availableTime>0) { : Team Build 101 (Part 1 of 2)

Friday, September 01, 2006 5:21 PM by while(availableTime>0) { : Team Build 101 (Part 1 of 2)

# Continuous Integration (CI) 整合資訊

Friday, September 15, 2006 8:36 AM by Refines.Info["Polo Lee"]
Agile 的 CI 概念在 Team System 架構中, Default 是沒有提供的,原因有很多 但結果是 目前功能上沒有這個選項, 只是 這不代表 Team System 不可能有 CI 流程,事實上...

# VSTS Links - 09/15/2006

Friday, September 15, 2006 10:31 AM by Team System News
D'Arcy Lussier on Storyboarding for Team System. Rob Caron talks about it as well.
Tan on Customizing...

# re: Team Build 101 (Part 2 of 2)

Monday, September 25, 2006 1:10 PM by Joe
What about the rss and email notifications?

# re: Team Build 101 (Part 2 of 2)

Monday, September 25, 2006 1:14 PM by heynemann
There are plenty of RSS feed readers on the web, but I like RSS Bandit. When you use automaton (the tool I blogged about earlier), it provides you with the RSS Feed address, so you just have to add it to your favourite RSS Reader.

Enter the text you see in the image:

Leave a Comment

(required) 
required 
(required)