Class AbstractReportPublisherDslExtension.AbstractReportContext
java.lang.Object
de.tracetronic.jenkins.plugins.ecutest.extension.jobdsl.AbstractReportPublisherDslExtension.AbstractReportContext
- All Implemented Interfaces:
javaposse.jobdsl.dsl.Context
- Direct Known Subclasses:
ReportPublisherDslExtension.PublishATXContext
,ReportPublisherDslExtension.PublishETLogContext
,ReportPublisherDslExtension.PublishGeneratorsContext
,ReportPublisherDslExtension.PublishTMSContext
,ReportPublisherDslExtension.PublishTRFContext
,ReportPublisherDslExtension.PublishUNITContext
- Enclosing class:
- AbstractReportPublisherDslExtension
public abstract static class AbstractReportPublisherDslExtension.AbstractReportContext
extends Object
implements javaposse.jobdsl.dsl.Context
Context
class providing common report related methods for the nested DSL context.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
The allow missing reports setting.protected boolean
The archiving setting.protected boolean
The keep all archives setting.protected boolean
The run on failed setting. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
allowMissing
(boolean value) Option defining whether missing reports are allowed.void
archiving
(boolean value) Option defining whether archiving artifacts is enabled.void
keepAll
(boolean value) Option defining whether artifacts are archived for all successful builds.void
runOnFailed
(boolean value) Option defining whether this publisher even runs on a failed build.
-
Field Details
-
allowMissing
protected boolean allowMissingThe allow missing reports setting. -
runOnFailed
protected boolean runOnFailedThe run on failed setting. -
archiving
protected boolean archivingThe archiving setting. -
keepAll
protected boolean keepAllThe keep all archives setting.
-
-
Constructor Details
-
AbstractReportContext
public AbstractReportContext()
-
-
Method Details
-
allowMissing
public void allowMissing(boolean value) Option defining whether missing reports are allowed.- Parameters:
value
- the value
-
runOnFailed
public void runOnFailed(boolean value) Option defining whether this publisher even runs on a failed build.- Parameters:
value
- the value
-
archiving
public void archiving(boolean value) Option defining whether archiving artifacts is enabled.- Parameters:
value
- the value
-
keepAll
public void keepAll(boolean value) Option defining whether artifacts are archived for all successful builds.- Parameters:
value
- the value
-