One widget
1) Widgets
The cruisecontrol widget is a custom component used to display any build results on the build details page. A widget released with cruisecontrol is panopticode, which allows SVG results produced by panopticode to be displayed.
2) install Widgets
When using a widget, You need to edit the configuration file cruise_home/Widgets. cfg of the widget. As follows:
# Simply type the name of widget Class
Net. SourceForge. cruisecontrol. dashboard. Service. panopticodewidget
At the same time, make sure to copy the SVG file to the build binary/Master location, for example, $ artifacts_root/{project name}/{build}/interactive-complexity-treemap.svg and $ artifacts_root/{project name}/{build}/interactive-coverage-treemap.svg.
3) widget usage
On the build details page, you can see that the other tab is panonticode summary. If your build has panopticode output, the chart is shown as follows:
Note that if we provide the results report in SVG format, we need to install the SVG Plugin in the browser. SVG plugin is installed in Firefox by default, and IE needs to be installed by yourself.
2. Build Grid
1) Build Grid
Build grid allows multiple build loop results to be displayed in one dashborad.
To use this function, cruisecontrol 2.7.2 or later is required. This function enables build loop to publish their status to dashborad over HTTP, allowing dashborad to interact with multiple build loops through JMX.
Restrictions:
* You must create a shared folder to allow build loops to output logs and binary/master files to the same directory. Dashborad reads log files from the shared directory.
* You must configure each build loop separately. Each build loop must have its own configuration file.
* If the build can be forcibly started, the remote JMX console and the build output function can run normally, all build loop hostnames must be parsed by dashborad.
2) Build grid installation Configuration
You can configure dashborad in two ways. The first is to create your own server for dashborad, and the second is to use the dashborad of a build loop.-Dashboardurl
To specify a common dashborad for build loop.
Complete!