This project is read-only.

How to Automatically Run Nightly Builds

- J.D. Meier, Jason Taylor, Alex Mackman, Prashant Bansode

The Team Build feature in TFS does not support scheduled builds from the user interface. Instead, you can use the Microsoft Windows Task Scheduler to run the TFSBuild command utility to start builds at predetermined time.

To create a scheduled build
  • Create a TFSBuild command line as follows:

TfsBuild start <<TeamFoundationServer>> <<TeamProject>> <<BuildTypeName>>
  • Place the command line in a batch file.
  • Create a Windows Scheduled Task that runs the batch file at your desired interval.

For more information and expanded steps, see “How To – Set Up a Scheduled Build with Visual Studio Team Foundation Server” in this guide.

Additional Resources

  • For more information, see “Chapter 9 – Setting Up a Scheduled Build with Team Build” in this guide.

Last edited Jul 26, 2007 at 7:55 AM by prashantbansode, version 1


No comments yet.