Package hudson.matrix

Interface MatrixAggregatable

All Superinterfaces:
ExtensionPoint

public interface MatrixAggregatable extends ExtensionPoint
Publisher, JobProperty, BuildWrapper can optionally implement this interface to perform result aggregation across MatrixRun.

This is useful for example to aggregate all the test results in MatrixRun into a single table/graph.

You may also register singleton implementations of this interface as Extensions. Rather than forcing publishers and the like to implement this interface, the singleton can perform any logic it needs for result aggregation on a given build.

Since:
1.115
Author:
Kohsuke Kawaguchi
  • Method Details

    • createAggregator

      MatrixAggregator createAggregator(MatrixBuild build, Launcher launcher, BuildListener listener)
      Creates a new instance of the aggregator.

      This method is called during the build of MatrixBuild and the created aggregator will perform the aggregation.

      Parameters:
      build - The build for which the aggregation shall happen. Never null.
      launcher - Can be used to launch processes during the build.
      listener - Progress report and errors during the aggregation should be sent to this object. Never null.
      Returns:
      null if the implementation is not willing to contribute an aggregator.
      See Also: