public class XUnitPublisher extends hudson.tasks.Recorder implements org.jenkinsci.lib.dryrun.DryRun, Serializable, jenkins.tasks.SimpleBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
XUnitPublisher.XUnitDescriptorPublisher |
hudson.tasks.Publisher.DescriptorExtensionListImplhudson.ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
XUnitPublisher(org.jenkinsci.lib.dtkit.type.TestType[] types,
XUnitThreshold[] thresholds) |
XUnitPublisher(org.jenkinsci.lib.dtkit.type.TestType[] tools,
XUnitThreshold[] thresholds,
int thresholdMode,
String testTimeMargin) |
| Modifier and Type | Method and Description |
|---|---|
ExtraConfiguration |
getExtraConfiguration() |
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project) |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getTestTimeMargin()
Needed to support Snippet Generator and Workflow properly
|
int |
getThresholdMode() |
XUnitThreshold[] |
getThresholds() |
org.jenkinsci.lib.dtkit.type.TestType[] |
getTools()
Needed to support Snippet Generator and Workflow properly.
|
org.jenkinsci.lib.dtkit.type.TestType[] |
getTypes() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
void |
perform(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
boolean |
performDryRun(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
all, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectActions, perform, prebuildpublic XUnitPublisher(org.jenkinsci.lib.dtkit.type.TestType[] types,
XUnitThreshold[] thresholds)
@DataBoundConstructor
public XUnitPublisher(org.jenkinsci.lib.dtkit.type.TestType[] tools,
XUnitThreshold[] thresholds,
int thresholdMode,
String testTimeMargin)
public org.jenkinsci.lib.dtkit.type.TestType[] getTools()
public String getTestTimeMargin()
public org.jenkinsci.lib.dtkit.type.TestType[] getTypes()
public XUnitThreshold[] getThresholds()
public int getThresholdMode()
public ExtraConfiguration getExtraConfiguration()
public 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 void perform(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
throws InterruptedException,
IOException
perform in interface jenkins.tasks.SimpleBuildStepInterruptedExceptionIOExceptionpublic boolean performDryRun(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
performDryRun in interface org.jenkinsci.lib.dryrun.DryRunInterruptedExceptionIOExceptionpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService in interface hudson.tasks.BuildStepCopyright © 2004-2016. All Rights Reserved.