public class TapPublisher
extends hudson.tasks.Recorder
implements hudson.matrix.MatrixAggregatable
| Modifier and Type | Class and Description |
|---|---|
static class |
TapPublisher.DescriptorImpl |
hudson.tasks.Publisher.DescriptorExtensionListImpl| Constructor and Description |
|---|
TapPublisher(String testResults,
Boolean failIfNoResults,
Boolean failedTestsMarkBuildAsFailure,
Boolean outputTapToConsole,
Boolean enableSubtests,
Boolean discardOldReports,
Boolean todoIsFailure,
Boolean includeCommentDiagnostics,
Boolean validateNumberOfTests,
Boolean planRequired,
Boolean verbose) |
| Modifier and Type | Method and Description |
|---|---|
hudson.matrix.MatrixAggregator |
createAggregator(hudson.matrix.MatrixBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
Boolean |
getDiscardOldReports() |
Boolean |
getEnableSubtests() |
Boolean |
getFailedTestsMarkBuildAsFailure() |
Boolean |
getFailIfNoResults() |
Boolean |
getIncludeCommentDiagnostics() |
Boolean |
getOutputTapToConsole() |
Boolean |
getPlanRequired() |
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project) |
static hudson.FilePath |
getReportsDirectory(hudson.model.AbstractBuild<?,?> build)
Gets the directory where the plug-in saves its TAP streams before processing them and
displaying in the UI.
|
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getTestResults() |
Boolean |
getTodoIsFailure() |
Boolean |
getValidateNumberOfTests() |
Boolean |
getVerbose() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
Object |
readResolve() |
all, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectActions, perform, prebuild@DataBoundConstructor public TapPublisher(String testResults, Boolean failIfNoResults, Boolean failedTestsMarkBuildAsFailure, Boolean outputTapToConsole, Boolean enableSubtests, Boolean discardOldReports, Boolean todoIsFailure, Boolean includeCommentDiagnostics, Boolean validateNumberOfTests, Boolean planRequired, Boolean verbose)
public Object readResolve()
public Boolean getFailIfNoResults()
public String getTestResults()
public Boolean getFailedTestsMarkBuildAsFailure()
public Boolean getOutputTapToConsole()
public Boolean getEnableSubtests()
public Boolean getDiscardOldReports()
public Boolean getTodoIsFailure()
public Boolean getIncludeCommentDiagnostics()
public Boolean getValidateNumberOfTests()
public Boolean getPlanRequired()
public Boolean getVerbose()
public static hudson.FilePath getReportsDirectory(hudson.model.AbstractBuild<?,?> build)
Adapted from JUnit Attachments Plug-in.
build - Jenkins buildpublic hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
getProjectAction in interface hudson.tasks.BuildStepgetProjectAction in class hudson.tasks.BuildStepCompatibilityLayerpublic boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService in interface hudson.tasks.BuildSteppublic hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
createAggregator in interface hudson.matrix.MatrixAggregatableCopyright © 2011-2014 Jenkins. All Rights Reserved.