TeamCity 3.0 Help

Including Third-Party Reports in the Build Results

TeamCity can be extended to include information provided by third-party reporting tools.

If your reporting tool produces a report in HTML format, you can add a new tab to the build results page which will show the report. To do this specify the report as an Build Artifact and modify the configuration to instruct the server to display the report whenever it is found in the artifact.

To enable including a report in a separate tab:

  1. For the build configuration, that produces a report, add an archive or directory to the Artifact paths of the Build Runner.

  2. Add the following line within the <server> tag of the <TeamCity data directory> /config/main-config.xml file:

<report-tab title="A Report" auxiliary-id="A Report" basePath="<report archive or directory>" startPage="index.html" />

where:

  • title is a unique title of the report tab

  • basePath is an archive or directory that contains the generated report, something like javadoc or report.zip

  • startPage is a relative path of the start page within the report archive or directory.

Last modified: 20 April 2023