[Cruisecontrol] Build Dashboard widgets and build Grid

Source: Internet
Author: User

 

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.-DashboardurlTo specify a common dashborad for build loop.

 

Complete!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.