Package hudson.tasks.test
Class AggregatedTestResultPublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
hudson.tasks.test.AggregatedTestResultPublisher
- All Implemented Interfaces:
ExtensionPoint,Describable<Publisher>,BuildStep
Aggregates downstream test reports into a single consolidated report,
so that people can see the overall test results in one page
when tests are scattered across many different jobs.
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classAction that serves the aggregated record.static final classNested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImplNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanShould failed builds be included?final StringJobs to aggregate.Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends Action>getProjectActions(AbstractProject<?, ?> project) booleanperform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) Methods inherited from class hudson.tasks.Recorder
getDescriptorMethods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, perform, prebuild
-
Field Details
-
jobs
Jobs to aggregate. Comma separated. Null if triggering downstreams. -
includeFailedBuilds
public final boolean includeFailedBuildsShould failed builds be included?
-
-
Constructor Details
-
AggregatedTestResultPublisher
-
AggregatedTestResultPublisher
-
-
Method Details
-
perform
public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceBuildStep- Overrides:
performin classBuildStepCompatibilityLayer- Throws:
InterruptedExceptionIOException
-
getRequiredMonitorService
-
getProjectActions
- Specified by:
getProjectActionsin interfaceBuildStep- Overrides:
getProjectActionsin classBuildStepCompatibilityLayer
-