RSS 2.0
 Friday, January 05, 2007
How many build scripts do you need?  There seems to be some massive confusion around TFS Build Scripts, namely, how many a single project needs.  If your answer is one, you too have a misunderstanding!  :-)  In my experience, one build script is not nearly enough, in fact, I encourage several.  Here's the why and how.

Why:  Visual Studio Team System (VSTS) and Team Foundation Server (TFS) is absolutely brilliant at tracking information related to a series of builds.  That information is archived, analyzed and reported in a very useful fashion.  BUT, it it reported by the NAME of the build.  Thus, if you only have one build type, you can only have one set of reports!  And that's no good!  You need more. The primary reason for having more than one build type is to get good, easily understandable, accurate metrics.
  1. First, you need a build script for your continuous integration builds.  This script runs every time someone checks in code (with certain restrictions).  You likely won't want an aggregate report on these builds, except for rare cases -- there are just too many of them.  This build is optional.  I'm a fan of CI, but if it's a bridge too far, don't worry.  The critical build is the nightly build...
  2. A TFS Build for your daily / nightly builds.  This build runs every night at a set time.  This build shows you what was accomplished during that entire day, including quality metrics, code churn, etc.  This is one of the most valuable builds, since its reporting is clearly segmented by time -- one build per day.  This allows a team to see what is being accomplished on a day to day basis.
  3. A TFS Build for weekly builds.  This runs every weekend.  Like the daily build, it will allow the reporting engine to show you what was accomplished that week, and how quality changes from week to week.  This allows you to see aggregate changes over a chunkier time sequence, namely weeks. 
  4. An end-of-iteration build.  I've found you don't need to go any longer than weeks this for most projects, as far as reporting is concerned.  However, you may choose to create a build that runs at the end of every iteration.  This gives you metrics on what was accomplished during the entire iteration.
  5. An on-demand build.  This one is used for folks who just need to trigger a build whenever.  Unless it's necessary or useful, you may choose to have this build not report anything back to the data warehouse.
How:  It's easy!  The reason for all these builds was stricktly for the reporting.  That means that each of these builds is likely going to be nearly identical!  So, all you need to do is create the first build (the hard part), and copy it several times, giving it a different name each time.  That's all there is to it! 

So, go forth and replicate those builds! 




Friday, January 05, 2007 9:06:12 AM (Pacific Standard Time, UTC-08:00)  #    Comments [0] -
Best Practice | Team System | Visual Studio 2005
 Thursday, January 04, 2007

I just noticed that the new TFS Installation Guide (date: 4 Jan, 2007) is available for download from Microsoft. It contains updated help relating to SP1.

The TFS Administrator's Guide is still the Nov 2006 version however.

Thursday, January 04, 2007 12:21:04 PM (Pacific Standard Time, UTC-08:00)  #    Comments [0] -
Richard Hundhausen | Team System
 Thursday, December 28, 2006

It looks like I'll be speaking at BASTA! in a few weeks.

I'll be delivering two regular sessions:

And one full-day workshop:

Thursday, December 28, 2006 10:16:52 AM (Pacific Standard Time, UTC-08:00)  #    Comments [0] -
Team System | Conferences | Richard Hundhausen
 Friday, December 22, 2006

Thanks to Brian Harry and team for releasing the latest version of the provider.

The enhancements in this latest release include:

  • Enable handling branched solutions in Visual Studio 2003
  • Fixed issues to enable provider to support TOAD for SQL Server 2.0
  • Enhanced the "Choose Folder in Team Foundation Server" dialog
  • Fixed bug which prevented Properties Dialog from displaying local path
  • Work Items Query list in the Checkin Dialog is loaded and saved on the disk
  • "Get" operation performance improvements
  • Miscellaneous bug fixes

Download the new provider here, and remember it is for use by anyone who owns a Team Foundation Server Client Access License (CAL).

Friday, December 22, 2006 4:18:30 PM (Pacific Standard Time, UTC-08:00)  #    Comments [0] -
Team System
 Tuesday, December 19, 2006
If you're upgrading your TFS with SP1 (which you should) and you're using the Workgroup edition, there's a gotcha if you already are using all 5 allowed people.  Basically, you'll have to remove on of the users, do the upgrade, then add the user back in.  Dave Glover has a good post you'll want to read before you do the upgrade.  You can find his post here.  Happy upgrading!

Tuesday, December 19, 2006 6:32:11 AM (Pacific Standard Time, UTC-08:00)  #    Comments [0] -
Team System | Visual Studio 2005
 Friday, December 15, 2006

Some of you have been beta testing it and, thanks in part to your hard work, it's ready for prime-time ... before the holidays!

Click here to learn more, and download SP1 for Visual Studio 2005, Team Foundation Server, and/or the Express editions. In addition, you can download Visual Studio 2005 SP1 Update for Windows Vista Beta.

Spread the word!

Friday, December 15, 2006 4:47:45 PM (Pacific Standard Time, UTC-08:00)  #    Comments [0] -
Team System | Visual Studio 2005
 Thursday, December 14, 2006
We got spammed on our comments, and so we've disabled comments on the blog.  Soon, we may put up an authorization scheme so that we aren't hammered by bogus comments.  But, for now, comments are disabled.  In lieu of comments, please send emails to myself.  My address, which you'll have to normalize from the awkward way I'm writing it here, is steve_nospam at accentient dot com.  (Simply delete the _nospam from my name, and send the emails to steve@..., thanks)

Thursday, December 14, 2006 9:20:35 AM (Pacific Standard Time, UTC-08:00)  #    Comments [0] -

We're about to redo the Team System Widgets page, and are looking for any suggestions on improvements.  Some things we'd like to add are comments on each widget, and an icon designating which ones are still 'works in progress'.  Any other ideas?  Tags?  Let us know!

Thursday, December 14, 2006 8:22:05 AM (Pacific Standard Time, UTC-08:00)  #    Comments [0] -
Misc | Team System
 Wednesday, December 13, 2006

Microsoft will be holding the next Professional Developers Conference (PDC) October 2-5, 2007 in Los Angeles, with two days of pre-conference on September 30 and October 1.  Save the date!

The PDC is the definitive developer event focused on the future of the Microsoft platform. PDC 2007 attendees will have the opportunity to access new code, learn about the latest Microsoft product offerings and hear from Microsoft executives about the various platform developments.

Click here for more information.

Wednesday, December 13, 2006 9:37:01 AM (Pacific Standard Time, UTC-08:00)  #    Comments [0] -
Conferences
Or that's what they say, anyway!  Martin Woodward ran across this site, and shot us an email.  Interesting!  :-)  It's a direct copy/paste of the html from our widgets page (prior to a recent update).  I don't see any attribution, but it's in a language that doesn't display on my computer, so I wouldn't know for sure.  It's actually good to see that people are using the site.

By the way, if you haven't seen Martin's VSTS blog, it's time you do!  His post on measurement is one of my favorites!  You can find it here.  He's a must have on your blog roll!

Wednesday, December 13, 2006 9:00:40 AM (Pacific Standard Time, UTC-08:00)  #    Comments [0] -
Misc
Navigation
Archive
<January 2007>
SunMonTueWedThuFriSat
31123456
78910111213
14151617181920
21222324252627
28293031123
45678910
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2008
Accentient, Inc.
Sign In
Statistics
Total Posts: 343
This Year: 62
This Month: 0
This Week: 0
Comments: 350
Themes
Pick a theme:
All Content © 2008, Accentient, Inc.
DasBlog theme 'Business' created by Christoph De Baene (delarou)