Class XUnitResultsStep
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
org.jenkinsci.plugins.xunit.pipeline.XUnitResultsStep
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
public class XUnitResultsStep
extends org.jenkinsci.plugins.workflow.steps.Step
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Collection<hudson.tasks.junit.TestDataPublisher>
long
int
List<org.jenkinsci.lib.dtkit.type.TestType>
getTools()
boolean
boolean
boolean
Should we skip publishing checks to the checks API plugin.void
setChecksName
(String checksName) void
setFollowSymlink
(boolean followSymlink) void
setReduceLog
(boolean reduceLog) void
setSkipPublishingChecks
(boolean skipPublishingChecks) void
setSleepTime
(long sleepTime) void
setTestDataPublishers
(Collection<hudson.tasks.junit.TestDataPublisher> testDataPublishers) void
setTestTimeMargin
(String testTimeMargin) void
setThresholdMode
(int thresholdMode) void
setThresholds
(List<XUnitThreshold> thresholds) org.jenkinsci.plugins.workflow.steps.StepExecution
start
(org.jenkinsci.plugins.workflow.steps.StepContext context) Methods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
Constructor Details
-
XUnitResultsStep
@DataBoundConstructor public XUnitResultsStep(@CheckForNull List<org.jenkinsci.lib.dtkit.type.TestType> tools)
-
-
Method Details
-
getTools
-
getThresholds
-
setThresholds
-
setThresholdMode
@DataBoundSetter public void setThresholdMode(int thresholdMode) -
getThresholdMode
public int getThresholdMode() -
setSleepTime
@DataBoundSetter public void setSleepTime(long sleepTime) -
getSleepTime
public long getSleepTime() -
setTestTimeMargin
-
getTestTimeMargin
-
getTestTimeMarginAsLong
public long getTestTimeMarginAsLong() -
getTestDataPublishers
-
setTestDataPublishers
@DataBoundSetter public void setTestDataPublishers(@NonNull Collection<hudson.tasks.junit.TestDataPublisher> testDataPublishers) -
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception - Specified by:
start
in classorg.jenkinsci.plugins.workflow.steps.Step
- Throws:
Exception
-
isReduceLog
public boolean isReduceLog() -
setReduceLog
@DataBoundSetter public void setReduceLog(boolean reduceLog) -
isFollowSymlink
public boolean isFollowSymlink() -
setFollowSymlink
@DataBoundSetter public void setFollowSymlink(boolean followSymlink) -
isSkipPublishingChecks
public boolean isSkipPublishingChecks()Should we skip publishing checks to the checks API plugin.- Returns:
- if publishing checks should be skipped,
false
otherwise
-
setSkipPublishingChecks
@DataBoundSetter public void setSkipPublishingChecks(boolean skipPublishingChecks) -
getChecksName
-
setChecksName
-