Walkthrough: Running a Build Definition in Team Foundation Build
This walkthrough shows you how to start a build using Team Foundation Build for a particular build definition.
In this walkthrough, you step through the process of choosing a build definition and manually starting a build.
Prerequisites
Visual Studio Team System.
A connection to a Team Foundation Server and at least one existing team project. For more information, see Walkthrough: Joining a Team Project and How to: Create a Team Project.
At least one build definition defined. For more information, see Walkthrough: Creating a Build Definition in Team Foundation Build.
Required Permissions
To complete this walkthrough, you must have the Team Foundation Server Start a build permission set to Allow. For more information, see Team Foundation Server Permissions..
To choose a build definition and start a build
Select your team project in Team Explorer.
On the Build menu, click Queue New Build.
The Queue Build "Team project name" dialog appears.
Under the Build definition drop-down list, select the build definition that you want to run.
Under Build agent, either use the default build agent or use the drop-down list to change the build agent.
Under Priority in queue, change the priority, if needed.
The default value is Normal. Other possible values are High, Above Normal, Below Normal, and Low.
As an option, add MSBuild command-line arguments in the MSBuild command-line arguments (optional) text box.
For example:
/v:diagnostic /p:versionToGet="myVersion"
Click Queue to start the build.
See Also
Tasks
Walkthrough: Viewing Team Build Report Results
Walkthrough: Creating a Build Definition in Team Foundation Build