public abstract class TestDataPublisher extends hudson.model.AbstractDescribableImpl<TestDataPublisher> implements hudson.ExtensionPoint
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.
| Constructor and Description |
|---|
TestDataPublisher() |
| Modifier and Type | Method and Description |
|---|---|
static hudson.DescriptorExtensionList<TestDataPublisher,hudson.model.Descriptor<TestDataPublisher>> |
all() |
TestResultAction.Data |
contributeTestData(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
TestResult testResult)
Called after test results are collected by Jenkins, to create a resolver for
TestActions. |
TestResultAction.Data |
getTestData(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener,
TestResult testResult)
Deprecated.
|
public TestResultAction.Data contributeTestData(hudson.model.Run<?,?> run, @Nonnull hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener, TestResult testResult) throws IOException, InterruptedException
TestActions.IOExceptionInterruptedException@Deprecated public TestResultAction.Data getTestData(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener, TestResult testResult) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static hudson.DescriptorExtensionList<TestDataPublisher,hudson.model.Descriptor<TestDataPublisher>> all()
Copyright © 2004-2015. All Rights Reserved.