Skip to end of metadata
Go to start of metadata
You are viewing documentation of TeamCity 2.x, which is not the most recent released version of TeamCity. Please refer to the listing to choose another version.
Documentation Index

Enabling the build configuration status widget

By selecting the Enable status widget option, you can include the status of the latest build for one or several build configurations into your web pages so that it is always possible to be up-to-date with the state of the projects and the project code base.

Besides enabling this option when creating or editing the general settings of the build configuration, you need to include the following sections of code in the web page source:

  1. The following code sapmle in <head> section:
  2. Add the following code sample where you want to insert build configuration status display:

To provide the information on the statuses of builds of several build confugurations, repeat &buildTypeId=<buildConfigurationId> in the URL.

It is also possible to show the status of all build confugurations in a project by replacing "&buildTypeId=<buildConfigurationId>" with "&projectId=<projectId>".



You can download the externalStatus.css file and customize its settings (for example, you can disable some columns with display: none;, see comments in externalStatus.css)

You can select a combination of these parameters or omit them at all so that all build configurations of all projects are displayed on your web page.