Working with Build Results
In TeamCity all information about particular build, regardless if it's still running or already finished, is accumulated on so-called build results page. However, some data is accessible only after the build is finished. Build results can be accessed from various places in TeamCity web UI, for example, from Build Configuration home page:
In addition to the general information about the build, like build duration, agent used, trigger, etc., build results page also contains following useful information:
Tests Failed in the Build
If the build has failed tests, you can view them right on the Overview tab of the build results page: For each failed you can jump to its Viewing Tests and Configuration Problems, Investigating Build Problems, Installing Tools to start fixing it right away. Moreover, all tests are displayed in the dedicated Tests tab. Viewing Tests and Configuration Problems.
Changes Included in Build
Not only you can review changes included in build, from the Changes tab you can also:
Configuring VCS Settings of the build configuration (if you have enough permissions).
For each particular change you can (when expanded):
Triggering a Custom Build with this change.
Explore change in details.
Open TeamCity Difference Viewer for a modified file in a change.
Open modified files in your IDE.
Review change in External Changes Viewer, if configured by administrator.
Build Log
For each build you can view and download its build log in preferable way:
Build Parameters
All system properties and environmental variables which were used by the particular build are listed on the Build Parameters tab of the build results. Configuring Build Parameters.
Dependencies
If the finished build has artifact and/or source dependencies, the Dependencies tab is displayed on the build results page, where you can explore builds which artifacts and/or sources were used for creating the particular build as well as the builds which used the artifacts and/or sources of the current build. Additionally you can opt to view indirect dependencies for the build. That is, for example, if a build A depends on a build B which depends on builds C and D, then these builds C and D are indirect dependencies for the build A.
Related Issues
If you have the Integrating TeamCity with Issue Tracker configured, and there is at least one issue mentioned in the comments for included changes or in the comments for the build itself, you'll see the list of issues related to the current build in the Issues tab. If you need to view all the issues related to a build configuration and not just for particular build, you can navigate to the Issues Log tab available on the build configuration home page, where you can all the issues mapped to the comments or filter the list to particular range of builds.
Build Artifacts
If the build has produced some Build Artifact, they are accumulated at the dedicated Artifacts tab.
Code Coverage Results
If you have code coverage configured in your build runner, dedicated tab appears in build results that shows the full HTML code coverage report.
Code Inspection Results
The results of the Code Inspection build step are gathered at the Code Inspection tab in the build results. Use the left pane to navigate through inspection results, the filtered inspections are shown in the right pane.
Switch from Total to Errors option , if you're not interested in warnings.
Use scope filter to limit the view to the specific directories. This makes it easier for developers to manage specific code of interest.
Use the inspections tree view under the scope filter to display results by specific inspection.
Note that TeamCity displays the source code line number that contains the problem. Click it to jump the code in your IDE.
Duplicates Found
If your build configuration has Duplicates build runner as one a build step, you will see the Duplicates tab in the build results:
The tab consists of:
A list of duplicates found. The new only option enables you to show only the duplicates that appeared in the latest build.
A list of files containing these duplicates. Use the left and right arrow buttons to show selected duplicate in the respective pane in the lower part of the tab.
Two panes with the source code of the file fragments that contain duplicates.
Scope filter in the the upper-left corner lists the specific directories that contain the duplicates. This filtering makes it easier for developers to manage specific code of interest.
Maven Build Info
For each Maven build TeamCity agent gathers Maven specific build details, that are displayed on the Maven Build Info tab of the build results after the build is finished.