Report Aggregation

You are viewing an old version (v. 17) of this page.
The latest version is v. 18, last edited on Jun 25, 2011 (view differences | )
<< View previous version | view page history | view next version >>

Introduce

Report aggregation can be used to collect build metrics from low level configurations and aggregate them into high level configurations to provide an instant overview of desired tree. A configuration can define its own aggregation rules or inherit aggregation rules from parent configurations. Taking below configuration hierarchy for example, you may define a JUnit aggregation rule in ROOT configuration to aggregate JUnit metrics from all descendant configurations:

  + ROOT
  |
  +---+ QuickBuild
  |
  +------+ V3.x
  |
  +---------+ DEV
  |
  +---------+ INTEGRATION
  |
  +------+ V4.x
  |

After each build in the system, the JUnit metrics will be sent to ROOT configuration for aggregation, so eventually you will see the JUnit summary of the whole system in overview page of the ROOT configuration. The JUnit summary tells you how many tests in the system, the overall success rate and duration, and the statistics overtime.

after finishing building configuration ROOT/QuickBuild/V3.X/DEV, the tests related metrics will be collected and aggregated to DEV itself, then go up to configuration V3.X, then continue to QuickBuild, and finally to ROOT. When go to the configuration overview tab, a Recent JUnit Tests panel is displayed and it contains the tests information of the build:

after finishing building configuration ROOT/QuickBuild/V3.X/INTEGRATION, the same process will be taken place, and a new row is added to the table like:

In the table above, each row shows the metrics of the latest build of a configuration, that is, when you run configuration ROOT/QuickBuild/V3.X/DEV again, the entry for it will be replaced to the new build 1.0.1.

and in statistics page, a tab 'JUnit Aggregated' displays the trends of the aggregated metrics and you can group by day, by week and by month.

How to define aggregation

To define aggregation is very straightforward. Go to configuration setting page and select Aggregations tab, then add an aggregation you want, you need input the aggregation name and aggregation condition. The report set field is used to tell QuickBuild you only want to aggregate some specific report sets, if leave empty, QuickBuild aggregates all available report sets.

You may define the aggregations as more as you want by specifying the aggregation condition and report set, for example, you may define an aggregation which only aggregates all the metrics from all DEV configurations, and define another to aggregate from all INTEGRATION configurations.

Just like all other configuration settings, the aggregation setting can be inherited/overridden from its parent.

Add aggregation gadget

You may also add the aggregation gadgets to the dashboard, so you can know the status of a configuration at first glance.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.