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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 Jenkins, 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. All Rights Reserved.