Udostępnij za pośrednictwem


Overview of Build Reports

Team Foundation Build generates detailed build information for each completed build and also for builds that are in progress. You can view the build report by double-clicking the build in Build Explorer. For more information, see Understanding the Team Foundation Build Explorer and How to: View Build Summary Status.

The following tables show how the build report is categorized by sections. These categories include the following:

  • Summary

  • Build Steps

  • Result details

  • Associated changesets

  • Associated work items

Summary

The following table displays the information in the Summary category in a build report.

Item

Description

Build name

Name of the build. The build name is based on the build definition name, a date stamp, and a sequential number. For example, MyBuildDefinition_060616.01. The build name provides a link to the drop location that contains the built binaries.

Requested by

Name of the user who requests the build be produced.

Team project

Team project that has been built.

Definition name

Name of the build definition that was used to generate this build.

Agent name

Build agent computer where the build will run.

Command-line arguments

Command-line arguments, if any, associated with this build definition.

Started on

Date and time stamp that indicates when the build was started.

Completed on

Date and time stamp that indicates when the build completed.

Last changed by

User who last changed the build.

Last changed on

Date and time stamp that indicates when the build was last changed.

Quality

Current build's quality state. This information is read-only.

Work items opened

Work items that were opened because of the compilation and static analysis errors that occurred in the build.

Source control version

Source control version of the files that are being built. For example, C27.

Log

Link to network share where the build log is located.

In the Service Pack 1 Edition of Microsoft Visual Studio Team System 2008 Team Foundation Server, the log file contains a Reason field that lists the build trigger that was used for the build. The values are:

  • Manual   The build was queued manually.

  • IndividualCI   A continuous integration build that was set to build after each check-in.

  • BatchedCI   A continuous integration build that was set to build after a batch check-in.

  • Schedule   A scheduled build.

  • ScheduleForced   A scheduled build that was started without having any new changes checked in.

Build Steps

The following table explains the build steps category of the build report. These entries will vary depending on the build type used and whether the build was successful. The build steps also include date and time stamp indicators such as 06/20/2006 03:00.00). The build steps include the following:

  • Initializing build

  • Getting sources

  • Compiling sources

  • Compiling <Solution Name> for <Platform>/<Flavor>

  • Compiling <Project Name>

  • Running tests

  • Generating list of changesets and updating work items (Note   Appears only on successful builds)

  • Getting changesets (Note   Appears on build breaks)

  • Creating work item (Note   Appears on build breaks)

  • Copying binaries to drop location

  • Succeeded

  • Failed

  • Stopped

Result details (platform/configuration)

The following table explains the result details category of the build report. This section may not be present if the build failed due to inadequate build permissions.

Item

Description

Errors and Warnings

Displays a summary of the errors and warnings. If an error occurred, displays a link to a file that contains a list of the compilation errors and warnings for the operating system/configuration combination

Test Results

Displays information for all tests run on the build. Each row in the table displays the following information about each test run.

  • Test Run   Displays a link to the test.

  • Published By   Identifies the user who ran the test run. For automatic test runs, this value is "N/A."

  • Total   Displays the total number of tests for each test run.

  • Passed   Displays the number of tests that passed.

  • Failed   Displays the total number of test that failed.

  • Other Result   Displays the total number of tests with other results (non-passed and non-failed).

Code Coverage Results

Displays the output of code coverage results.

Associated Changesets

The Associated Changesets category provides information about the changesets that are part of the build.

Note

The section title in the report denotes the number of changesets associated with the build.

For more information, see Working with Version Control Changesets.

Item

Description

Changeset ID

Number of the changeset displayed as a link. Clicking this link will show details of the check-in.

Checked In By

User who checked in the changeset.

Comments

Comments associated with the changeset.

Associated Work Items

The Associated Work Items category provides a dialog box displaying information about the work items associated with this build.

Note

The section title in the report denotes the number of work items associated with the build.

For more information, see Working with Team Foundation Work Items.

Item

Description

ID

Work item associated with this build. It is displayed as a link, and clicking this link will show details of this work item.

Title

Title information retrieved from Team Foundation Server for this work item.

Check-in Action

Check-in action associated with the work item.

Changed By

User who associated this work item to this build.

See Also

Tasks

How to: Set Build Quality

Walkthrough: Viewing Team Build Report Results

Concepts

Team Foundation Build Overview

Other Resources

Working with Team Foundation Build Reports