If your reporting tool produces reports in HTML format, you can extend TeamCity with a custom tab to show the information provided by the third-party reporting tool on the build results page.
There are two types of report tabs available:
- System-wide: is configured on Server Configuration page and will appear on build results page for each build in the system that produces the specified reports artifact.
- Project-specific: is configured when creating/editing a project and will appear on the Project Home Page for a particular project only, if some build within the project produces the specified reports artifact.
To configure a report tab, go to the Server Configuration page or project settings respectively, click Create new report tab and proceed with the following options:
|| Specify a unique title of the report tab that will be displayed in the web UI.
|Get artifacts from
|| This field is available for project-specific report tabs only
Specify the build, which artifacts will be shown on the tab. Select whether the report should be taken from last successful, pinned, finished build or build with specified build number.
|| Specify an archive or directory that contains the generated report. The path should be relative, it will be used to get the appropriate file or directory from the build's artifacts. Examples are javadoc or report.zip to reference a directory or an archive in the root of build's artifacts.
||Specify the relative path to the start page within the report archive or directory.
See the example of a report tab below: