Geeks With Blogs
Mike Azocar So long and thanks for all the Fish!
Team Build is a very powerful tool, but it does not do scheduled builds out of the box. Fortunately, creating a scheduled build is very easy. With my current project, I have created a Build Type called "DailyBuild." I want this build to run each day at 3PM so that I can make sure no changes checked in during the day have broken my application. So here is what I did to achieve this.
  1. I created a batch file that contains the following and saved it on my Build server's D drive (hence the C:). @echo off C: CD C:\Program Files\Microsoft Visual Studio 8\Common 7\IDE TFSBUILD.EXE START tfsservername projectname buildname
  2. I added a new Scheduled Task (Control Panel) that points to this batch file and schedule it to run each day at 3 PM.
To learn more about TFSBuild just open the command prompt and navigate to the folder above and type TFSBuild. Happy Coding! Posted on Friday, May 19, 2006 1:05 PM Administration , Team Build | Back to top


Comments on this post: Creating a Daily Build

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Mike Azocar | Powered by: GeeksWithBlogs.net