April 23, 2011, 8:37 p.m.
posted by geist
Monitoring and Analyzing Builds
Build information is provided in Visual Studio through the Team Build Browser. This browser window provides a list of completed or in-flight builds, and it functions as the principal mechanism for viewing build progress or completed summary reports.
Introducing the Team Build Browser
The Team Build Browser, shown in Figure, provides a snapshot of any build by indicating whether it succeeded, failed, or is in progress; the name of the build; the quality of the build; and the date it was completed.
14. The Team Build Browser.
If you or other members of the project team want to be notified when a build has been completed, you can use the Team Foundation Server project alerts feature. TFS defines two build-related events that you can subscribe to: Build Completed and Build Quality Changed.
The browser enables you to access the report for a specific build and set the build's quality state.
Setting a Build's Quality State
As part of the build process, the QA group would visit the Team Build Browser and change a build's quality state to indicate to the rest of the team what their tests have found. You can do this quite easily by clicking in the column and selecting one of the states, as shown in Figure.
15. Setting the build quality state.
In addition to the stock quality states, you can also add your own. Just select the Edit option in the Build Quality drop-down. Using the Edit Build Quality dialog box (see Figure), you can add new states or remove one of the existing ones.
16. Adding a new build quality state.
The Build Report
To view reports for both in-progress and completed builds, you double-click the build within the Team Build Browser.
Each report is hosted within a document window opened in Visual Studio and has the following sections:
Figure shows a build report open in Visual Studio.
17. A build report.
Work items once again provide a correlation mechanism for associating builds and other team project artifacts. For example, consider the following chain of information: