TeamCity 2018.1 Help

Investigating and Muting Build Problems

When for some reason a build fails, TeamCity provides handy means of figuring out which changes might have caused the build failure.

You can 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.

TeamCity also provides a way t o mute a build problem (similarly to muting failed tests) so that it not affect build status for future builds.

Investigating or Muting Build Problems

To assign an investigation of a failed build:

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

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

  3. Select the condition to remove the investigation: when the build configuration becomes green or the test passes (default) or specify that an investigation should be resolved manually. Manual resolution is useful with so called "flickering tests", i.e. when a test fails from time to time and the "green" status of a build is not an indicator of the problem resolution.

  4. Save your investigation.

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

To assign an investigation / mute a particular build problem:

  1. Navigate to the Overview tab of the Build Results page, click the arrow next to the build problem, click the Investigate.. link.

  2. The Investigate / Mute Build problem dialogue opens. Select the investigation or muting options and save them:

  3. Build problem invest mute

To assign an investigation / mute 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 Investigate....

Viewing Investigations and Mutes

A subject for investigating/ muting is not necessarily the whole build, it can also be a build problem, a particular test. For each project you can find out what problems are currently being investigated and by whom using the dedicated Investigations page. All mutes are listed on the Muted Problems tab:

.

Investigations muted problems tabs

My Investigations

To view all problems assigned to you to investigate, click the box with a number next to your name in the top tight-hand corner.

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.

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.

The investigations assigned to you are also highlighted in the Web UI if you enable the "Highlight my changes and investigations" option on in your profile settings.

Last modified: 20 April 2023