hudson.tasks.junit
Class TestDataPublisher
java.lang.Object
hudson.model.AbstractDescribableImpl<TestDataPublisher>
hudson.tasks.junit.TestDataPublisher
- All Implemented Interfaces:
- ExtensionPoint, Describable<TestDataPublisher>
public abstract class TestDataPublisher
- extends AbstractDescribableImpl<TestDataPublisher>
- implements ExtensionPoint
Contributes TestActions to test results.
This enables plugins to annotate test results and provide richer UI, such as
letting users claim test failures, allowing people to file bugs, or more
generally, additional actions, views, etc.
To register your implementation, put Extension on your descriptor
implementation.
- Since:
- 1.320
TestDataPublisher
public TestDataPublisher()
getTestData
public abstract TestResultAction.Data getTestData(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener,
TestResult testResult)
throws IOException,
InterruptedException
- Called after test results are collected by Hudson, to create a resolver
for
TestActions.
- Returns:
- can be null to indicate that there's nothing to contribute for
this test result.
- Throws:
IOException
InterruptedException
all
public static DescriptorExtensionList<TestDataPublisher,Descriptor<TestDataPublisher>> all()
Copyright © 2004-2013 Hudson. All Rights Reserved.