TeamCity 8.0 Help

Investigating Build Problems

When for some reason a build fails, TeamCity provides handy means of figuring out which changes might have caused the build failure and lets you assign some of your team members to investigate what caused the failure of this build or to start the investigation yourself. When an investigator is set, he/she receives the corresponding notification. A subject for the investigation is not necessarily the whole build, it can also be some particular test. For each project you can find out what problems are currently being investigated and by whom using the dedicated Investigations tab.

To start investigation of a failed build:

  1. Navigate to the Overview tab of the Build Configuration Home page, or the Overview tab of the Working with Build Results, click the Start investigation link.

  2. Select a team member's name from the User drop-down list and click Assign.

Investigation

To investigate a problem in more than one build configuration, click more and select the desired build configurations.

To start an investigation of a particular test, navigate to the Working with Build Results, Viewing Tests and Configuration Problems of the Build Results page, click the arrow next to the test name and select Investigation.

My Investigations

To view all problems assigned to you to investigate, click the box with a number next to your name.

My investigations
From My Investigations page you are able not only to see the investigations assigned to you in different projects, but you can view the problems in the build log, manage them: mark as fixed, give up the investigation, re-assign, or mute a test failure.

Note that for each failed test on this page you can get a lot of information instantly, without leaving this page. For example:

  • you can see all build configurations where this test is currently failing

  • you can see the current stacktrace and the information about the build where the test is currently failing

  • you can also see the information about the first failure of this test, again with the stacktrace and build.

Since TeamCity 7.1, investigations assigned to you are also highlighted in the Web UI if you enable the "Highlight my changes and investigations" option on in your Managing your User Account.

Last modified: 20 April 2023