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:
The following code sapmle in <head> section: <style type="text/css"> @import" <path_to_server>/css/status/externalStatus.css"; </style>
Add the following code sample where you want to insert build configuration status display: <script type="text/javascript" src="<path_to_server>/externalStatus.html?js=1&buildTypeId=<buildConfigurationId>" > </script>
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>".
tip
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.