Package hudson.tasks.junit.pipeline
Class JUnitResultsStep
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
-
- org.jenkinsci.plugins.workflow.steps.Step
-
- hudson.tasks.junit.pipeline.JUnitResultsStep
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
,JUnitTask
public class JUnitResultsStep extends org.jenkinsci.plugins.workflow.steps.Step implements JUnitTask
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JUnitResultsStep.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description JUnitResultsStep(String testResults)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getChecksName()
double
getHealthScaleFactor()
String
getStdioRetention()
List<TestDataPublisher>
getTestDataPublishers()
String
getTestResults()
boolean
isAllowEmptyResults()
boolean
isKeepLongStdio()
Deprecated.boolean
isKeepProperties()
boolean
isSkipMarkingBuildUnstable()
boolean
isSkipOldReports()
boolean
isSkipPublishingChecks()
Should we skip publishing checks to the checks API plugin.void
setAllowEmptyResults(boolean allowEmptyResults)
void
setChecksName(String checksName)
void
setHealthScaleFactor(double healthScaleFactor)
void
setKeepLongStdio(boolean keepLongStdio)
Deprecated.void
setKeepProperties(boolean keepProperties)
void
setSkipMarkingBuildUnstable(boolean skipMarkingBuildUnstable)
void
setSkipOldReports(boolean skipOldReports)
void
setSkipPublishingChecks(boolean skipPublishingChecks)
void
setStdioRetention(String stdioRetention)
void
setTestDataPublishers(List<TestDataPublisher> testDataPublishers)
org.jenkinsci.plugins.workflow.steps.StepExecution
start(org.jenkinsci.plugins.workflow.steps.StepContext context)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.tasks.junit.JUnitTask
getParsedStdioRetention
-
-
-
-
Constructor Detail
-
JUnitResultsStep
@DataBoundConstructor public JUnitResultsStep(String testResults)
-
-
Method Detail
-
getTestResults
public String getTestResults()
- Specified by:
getTestResults
in interfaceJUnitTask
-
getHealthScaleFactor
public double getHealthScaleFactor()
- Specified by:
getHealthScaleFactor
in interfaceJUnitTask
-
setHealthScaleFactor
@DataBoundSetter public final void setHealthScaleFactor(double healthScaleFactor)
- Parameters:
healthScaleFactor
- Health scale factor.- Since:
- 1.2-beta-1
-
getTestDataPublishers
@NonNull public List<TestDataPublisher> getTestDataPublishers()
- Specified by:
getTestDataPublishers
in interfaceJUnitTask
-
setTestDataPublishers
@DataBoundSetter public final void setTestDataPublishers(@NonNull List<TestDataPublisher> testDataPublishers)
- Parameters:
testDataPublishers
- Test data publishers.- Since:
- 1.2
-
setKeepLongStdio
@Deprecated @DataBoundSetter public final void setKeepLongStdio(boolean keepLongStdio)
Deprecated.- Parameters:
keepLongStdio
- Whether to keep long stdio.- Since:
- 1.2-beta-1
-
isKeepLongStdio
@Deprecated public boolean isKeepLongStdio()
Deprecated.- Specified by:
isKeepLongStdio
in interfaceJUnitTask
-
getStdioRetention
public String getStdioRetention()
- Specified by:
getStdioRetention
in interfaceJUnitTask
- Returns:
- the stdioRetention
-
setStdioRetention
@DataBoundSetter public final void setStdioRetention(String stdioRetention)
- Parameters:
stdioRetention
- How to keep long stdio.
-
isKeepProperties
public boolean isKeepProperties()
- Specified by:
isKeepProperties
in interfaceJUnitTask
- Returns:
- the keepProperties.
-
setKeepProperties
@DataBoundSetter public final void setKeepProperties(boolean keepProperties)
- Parameters:
keepProperties
- Whether to keep the properties
-
isAllowEmptyResults
public boolean isAllowEmptyResults()
- Specified by:
isAllowEmptyResults
in interfaceJUnitTask
- Returns:
- the allowEmptyResults
-
isSkipPublishingChecks
public boolean isSkipPublishingChecks()
Should we skip publishing checks to the checks API plugin.- Specified by:
isSkipPublishingChecks
in interfaceJUnitTask
- Returns:
- if publishing checks should be skipped,
false
otherwise
-
setSkipPublishingChecks
@DataBoundSetter public void setSkipPublishingChecks(boolean skipPublishingChecks)
-
getChecksName
public String getChecksName()
- Specified by:
getChecksName
in interfaceJUnitTask
-
setChecksName
@DataBoundSetter public void setChecksName(String checksName)
-
setAllowEmptyResults
@DataBoundSetter public final void setAllowEmptyResults(boolean allowEmptyResults)
-
isSkipMarkingBuildUnstable
public boolean isSkipMarkingBuildUnstable()
-
setSkipMarkingBuildUnstable
@DataBoundSetter public void setSkipMarkingBuildUnstable(boolean skipMarkingBuildUnstable)
-
isSkipOldReports
public boolean isSkipOldReports()
- Specified by:
isSkipOldReports
in interfaceJUnitTask
-
setSkipOldReports
@DataBoundSetter public void setSkipOldReports(boolean skipOldReports)
-
-