Class CucumberReportPublisher

All Implemented Interfaces:
ExtensionPoint, Describable<Publisher>, BuildStep, SimpleBuildStep

public class CucumberReportPublisher extends Recorder implements SimpleBuildStep
  • Constructor Details

    • CucumberReportPublisher

      @DataBoundConstructor public CucumberReportPublisher(String fileIncludePattern)
  • Method Details

    • keepBackwardCompatibility

      protected void keepBackwardCompatibility()
      This method, invoked after object is resurrected from persistence, to keep backward compatibility.
    • getFileIncludePattern

      public String getFileIncludePattern()
    • getClassifications

      public List<CucumberReportPublisher.Classification> getClassifications()
    • setClassifications

      @DataBoundSetter public void setClassifications(List<CucumberReportPublisher.Classification> classifications)
    • setCustomJsFiles

      @DataBoundSetter public void setCustomJsFiles(String customJsFiles)
    • getCustomJsFiles

      public String getCustomJsFiles()
    • setCustomCssFiles

      @DataBoundSetter public void setCustomCssFiles(String customCssFiles)
    • getCustomCssFiles

      public String getCustomCssFiles()
    • getTrendsLimit

      public int getTrendsLimit()
    • setTrendsLimit

      @DataBoundSetter public void setTrendsLimit(int trendsLimit)
    • getFileExcludePattern

      public String getFileExcludePattern()
    • setFileExcludePattern

      @DataBoundSetter public void setFileExcludePattern(String fileExcludePattern)
    • getJsonReportDirectory

      public String getJsonReportDirectory()
    • setJsonReportDirectory

      @DataBoundSetter public void setJsonReportDirectory(String jsonReportDirectory)
    • getReportTitle

      public String getReportTitle()
    • setReportTitle

      @DataBoundSetter public void setReportTitle(String reportTitle)
    • getDirectorySuffix

      public String getDirectorySuffix()
    • getDirectorySuffixWithSeparator

      public String 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

      public String getBuildStatus()
    • setBuildStatus

      @DataBoundSetter public void setBuildStatus(String buildStatus)
    • 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

      @DataBoundSetter public void setSortingMethod(String sortingMethod)
    • getSortingMethod

      public String getSortingMethod()
    • setClassificationsFilePattern

      @DataBoundSetter public void setClassificationsFilePattern(String classificationsFilePattern)
    • getClassificationsFilePattern

      public String 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 interface SimpleBuildStep
      Throws:
      InterruptedException
      IOException
    • getRequiredMonitorService

      public BuildStepMonitor getRequiredMonitorService()
      Specified by:
      getRequiredMonitorService in interface BuildStep