Package net.masterthought.jenkins
Class CucumberReportPublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
net.masterthought.jenkins.CucumberReportPublisher
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
,SimpleBuildStep
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
int
double
int
double
int
double
boolean
boolean
boolean
boolean
int
double
boolean
boolean
int
double
boolean
int
boolean
int
double
protected void
This method, invoked after object is resurrected from persistence, to keep backward compatibility.void
perform
(Run<?, ?> run, FilePath workspace, Launcher launcher, TaskListener listener) void
setBuildStatus
(String buildStatus) void
setClassifications
(List<CucumberReportPublisher.Classification> classifications) void
setClassificationsFilePattern
(String classificationsFilePattern) void
setCustomCssFiles
(String customCssFiles) void
setCustomJsFiles
(String customJsFiles) void
setExpandAllSteps
(boolean expandAllSteps) void
setFailedAsNotFailingStatus
(boolean failedAsNotFailingStatus) void
setFailedFeaturesNumber
(int failedFeaturesNumber) void
setFailedFeaturesPercentage
(double failedFeaturesPercentage) void
setFailedScenariosNumber
(int failedScenariosNumber) void
setFailedScenariosPercentage
(double failedScenariosPercentage) void
setFailedStepsNumber
(int failedStepsNumber) void
setFailedStepsPercentage
(double failedStepsPercentage) void
setFileExcludePattern
(String fileExcludePattern) void
setHideEmptyHooks
(boolean hideEmptyHooks) void
setJsonReportDirectory
(String jsonReportDirectory) void
setMergeFeaturesById
(boolean mergeFeaturesById) void
setMergeFeaturesWithRetest
(boolean mergeFeaturesWithRetest) void
setPendingAsNotFailingStatus
(boolean pendingAsNotFailingStatus) void
setPendingStepsNumber
(int pendingStepsNumber) void
setPendingStepsPercentage
(double pendingStepsPercentage) void
setReportTitle
(String reportTitle) void
setSkipEmptyJSONFiles
(boolean skipEmptyJSONFiles) void
setSkippedAsNotFailingStatus
(boolean skippedAsNotFailingStatus) void
setSkippedStepsNumber
(int skippedStepsNumber) void
setSkippedStepsPercentage
(double skippedStepsPercentage) void
setSortingMethod
(String sortingMethod) void
setStopBuildOnFailedReport
(boolean stopBuildOnFailedReport) void
setTrendsLimit
(int trendsLimit) void
setUndefinedAsNotFailingStatus
(boolean undefinedAsNotFailingStatus) void
setUndefinedStepsNumber
(int undefinedStepsNumber) void
setUndefinedStepsPercentage
(double undefinedStepsPercentage) Methods inherited from class hudson.tasks.Recorder
getDescriptor
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, perform, prebuild
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, perform, prebuild
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Constructor Details
-
CucumberReportPublisher
-
-
Method Details
-
keepBackwardCompatibility
protected void keepBackwardCompatibility()This method, invoked after object is resurrected from persistence, to keep backward compatibility. -
getFileIncludePattern
-
getClassifications
-
setClassifications
@DataBoundSetter public void setClassifications(List<CucumberReportPublisher.Classification> classifications) -
setCustomJsFiles
-
getCustomJsFiles
-
setCustomCssFiles
-
getCustomCssFiles
-
getTrendsLimit
public int getTrendsLimit() -
setTrendsLimit
@DataBoundSetter public void setTrendsLimit(int trendsLimit) -
getFileExcludePattern
-
setFileExcludePattern
-
getJsonReportDirectory
-
setJsonReportDirectory
-
getReportTitle
-
setReportTitle
-
getDirectorySuffix
-
getDirectorySuffixWithSeparator
-
getFailedStepsNumber
public int getFailedStepsNumber() -
setFailedStepsNumber
@DataBoundSetter public void setFailedStepsNumber(int failedStepsNumber) -
getSkippedStepsNumber
public int getSkippedStepsNumber() -
setSkippedStepsNumber
@DataBoundSetter public void setSkippedStepsNumber(int skippedStepsNumber) -
getPendingStepsNumber
public int getPendingStepsNumber() -
setPendingStepsNumber
@DataBoundSetter public void setPendingStepsNumber(int pendingStepsNumber) -
getUndefinedStepsNumber
public int getUndefinedStepsNumber() -
setUndefinedStepsNumber
@DataBoundSetter public void setUndefinedStepsNumber(int undefinedStepsNumber) -
getFailedScenariosNumber
public int getFailedScenariosNumber() -
setFailedScenariosNumber
@DataBoundSetter public void setFailedScenariosNumber(int failedScenariosNumber) -
getFailedFeaturesNumber
public int getFailedFeaturesNumber() -
setFailedFeaturesNumber
@DataBoundSetter public void setFailedFeaturesNumber(int failedFeaturesNumber) -
getFailedStepsPercentage
public double getFailedStepsPercentage() -
setFailedStepsPercentage
@DataBoundSetter public void setFailedStepsPercentage(double failedStepsPercentage) -
getSkippedStepsPercentage
public double getSkippedStepsPercentage() -
setSkippedStepsPercentage
@DataBoundSetter public void setSkippedStepsPercentage(double skippedStepsPercentage) -
getPendingStepsPercentage
public double getPendingStepsPercentage() -
setPendingStepsPercentage
@DataBoundSetter public void setPendingStepsPercentage(double pendingStepsPercentage) -
getUndefinedStepsPercentage
public double getUndefinedStepsPercentage() -
setUndefinedStepsPercentage
@DataBoundSetter public void setUndefinedStepsPercentage(double undefinedStepsPercentage) -
getFailedScenariosPercentage
public double getFailedScenariosPercentage() -
setFailedScenariosPercentage
@DataBoundSetter public void setFailedScenariosPercentage(double failedScenariosPercentage) -
getFailedFeaturesPercentage
public double getFailedFeaturesPercentage() -
setFailedFeaturesPercentage
@DataBoundSetter public void setFailedFeaturesPercentage(double failedFeaturesPercentage) -
getBuildStatus
-
setBuildStatus
-
setStopBuildOnFailedReport
@DataBoundSetter public void setStopBuildOnFailedReport(boolean stopBuildOnFailedReport) -
getStopBuildOnFailedReport
public boolean getStopBuildOnFailedReport() -
setFailedAsNotFailingStatus
@DataBoundSetter public void setFailedAsNotFailingStatus(boolean failedAsNotFailingStatus) -
getFailedAsNotFailingStatus
public boolean getFailedAsNotFailingStatus() -
setSkippedAsNotFailingStatus
@DataBoundSetter public void setSkippedAsNotFailingStatus(boolean skippedAsNotFailingStatus) -
getSkippedAsNotFailingStatus
public boolean getSkippedAsNotFailingStatus() -
setPendingAsNotFailingStatus
@DataBoundSetter public void setPendingAsNotFailingStatus(boolean pendingAsNotFailingStatus) -
getPendingAsNotFailingStatus
public boolean getPendingAsNotFailingStatus() -
setUndefinedAsNotFailingStatus
@DataBoundSetter public void setUndefinedAsNotFailingStatus(boolean undefinedAsNotFailingStatus) -
getUndefinedAsNotFailingStatus
public boolean getUndefinedAsNotFailingStatus() -
setSortingMethod
-
getSortingMethod
-
setClassificationsFilePattern
-
getClassificationsFilePattern
-
setMergeFeaturesById
@DataBoundSetter public void setMergeFeaturesById(boolean mergeFeaturesById) -
getMergeFeaturesById
public boolean getMergeFeaturesById() -
setMergeFeaturesWithRetest
@DataBoundSetter public void setMergeFeaturesWithRetest(boolean mergeFeaturesWithRetest) -
getMergeFeaturesWithRetest
public boolean getMergeFeaturesWithRetest() -
setHideEmptyHooks
@DataBoundSetter public void setHideEmptyHooks(boolean hideEmptyHooks) -
getHideEmptyHooks
public boolean getHideEmptyHooks() -
setSkipEmptyJSONFiles
@DataBoundSetter public void setSkipEmptyJSONFiles(boolean skipEmptyJSONFiles) -
getSkipEmptyJSONFiles
public boolean getSkipEmptyJSONFiles() -
setExpandAllSteps
@DataBoundSetter public void setExpandAllSteps(boolean expandAllSteps) -
getExpandAllSteps
public boolean getExpandAllSteps() -
perform
public void perform(@NonNull Run<?, ?> run, @NonNull FilePath workspace, @NonNull Launcher launcher, @NonNull TaskListener listener) throws InterruptedException, IOException- Specified by:
perform
in interfaceSimpleBuildStep
- Throws:
InterruptedException
IOException
-
getRequiredMonitorService
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
-