public class XUnitBuilder
extends hudson.tasks.Builder
implements jenkins.tasks.SimpleBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
XUnitBuilder.XUnitDescriptorBuilder |
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory| Constructor and Description |
|---|
XUnitBuilder(org.jenkinsci.lib.dtkit.type.TestType[] types,
XUnitThreshold[] thresholds) |
XUnitBuilder(org.jenkinsci.lib.dtkit.type.TestType[] tools,
XUnitThreshold[] thresholds,
int thresholdMode,
String testTimeMargin) |
| Modifier and Type | Method and Description |
|---|---|
ExtraConfiguration |
getExtraConfiguration() |
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) |
getProjectAction, getProjectAction, getProjectActions, perform, prebuildpublic XUnitBuilder(org.jenkinsci.lib.dtkit.type.TestType[] types,
XUnitThreshold[] thresholds)
@DataBoundConstructor
public XUnitBuilder(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 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
InterruptedExceptionIOExceptionpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService in interface hudson.tasks.BuildStepgetRequiredMonitorService in class hudson.tasks.BuilderCopyright © 2004-2016. All Rights Reserved.