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 ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublebooleanbooleanDeprecated.booleanbooleanbooleanbooleanbooleanShould we skip publishing checks to the checks API plugin.final voidsetAllowEmptyResults(boolean allowEmptyResults) voidsetChecksName(String checksName) final voidsetHealthScaleFactor(double healthScaleFactor) final voidsetKeepLongStdio(boolean keepLongStdio) Deprecated.final voidsetKeepProperties(boolean keepProperties) final voidsetKeepTestNames(boolean keepTestNames) voidsetSkipMarkingBuildUnstable(boolean skipMarkingBuildUnstable) voidsetSkipOldReports(boolean skipOldReports) voidsetSkipPublishingChecks(boolean skipPublishingChecks) final voidsetStdioRetention(String stdioRetention) final voidsetTestDataPublishers(List<TestDataPublisher> testDataPublishers) org.jenkinsci.plugins.workflow.steps.StepExecutionstart(org.jenkinsci.plugins.workflow.steps.StepContext context) Methods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.tasks.junit.JUnitTask
getParsedStdioRetention
-
Constructor Details
-
JUnitResultsStep
-
-
Method Details
-
getTestResults
- Specified by:
getTestResultsin interfaceJUnitTask
-
getHealthScaleFactor
public double getHealthScaleFactor()- Specified by:
getHealthScaleFactorin interfaceJUnitTask
-
setHealthScaleFactor
@DataBoundSetter public final void setHealthScaleFactor(double healthScaleFactor) - Parameters:
healthScaleFactor- Health scale factor.- Since:
- 1.2-beta-1
-
getTestDataPublishers
- Specified by:
getTestDataPublishersin interfaceJUnitTask
-
setTestDataPublishers
@DataBoundSetter public final void setTestDataPublishers(@NonNull List<TestDataPublisher> testDataPublishers) - Parameters:
testDataPublishers- Test data publishers.- Since:
- 1.2
-
setKeepLongStdio
Deprecated.- Parameters:
keepLongStdio- Whether to keep long stdio.- Since:
- 1.2-beta-1
-
isKeepLongStdio
Deprecated.- Specified by:
isKeepLongStdioin interfaceJUnitTask
-
getStdioRetention
- Specified by:
getStdioRetentionin interfaceJUnitTask- Returns:
- the stdioRetention
-
setStdioRetention
- Parameters:
stdioRetention- How to keep long stdio.
-
isKeepProperties
public boolean isKeepProperties()- Specified by:
isKeepPropertiesin interfaceJUnitTask- Returns:
- the keepProperties.
-
setKeepProperties
@DataBoundSetter public final void setKeepProperties(boolean keepProperties) - Parameters:
keepProperties- Whether to keep the properties
-
isKeepTestNames
public boolean isKeepTestNames()- Specified by:
isKeepTestNamesin interfaceJUnitTask- Returns:
- the keepTestNames.
-
setKeepTestNames
@DataBoundSetter public final void setKeepTestNames(boolean keepTestNames) - Parameters:
keepTestNames- Whether to avoid adding parallel stage name into test name.
-
isAllowEmptyResults
public boolean isAllowEmptyResults()- Specified by:
isAllowEmptyResultsin interfaceJUnitTask- Returns:
- the allowEmptyResults
-
isSkipPublishingChecks
public boolean isSkipPublishingChecks()Should we skip publishing checks to the checks API plugin.- Specified by:
isSkipPublishingChecksin interfaceJUnitTask- Returns:
- if publishing checks should be skipped,
falseotherwise
-
setSkipPublishingChecks
@DataBoundSetter public void setSkipPublishingChecks(boolean skipPublishingChecks) -
getChecksName
- Specified by:
getChecksNamein interfaceJUnitTask
-
setChecksName
-
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:
isSkipOldReportsin interfaceJUnitTask
-
setSkipOldReports
@DataBoundSetter public void setSkipOldReports(boolean skipOldReports) -
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception - Specified by:
startin classorg.jenkinsci.plugins.workflow.steps.Step- Throws:
Exception
-