Class CucumberTestReportPublisher
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- com.github.bogdanlivadariu.jenkins.reporting.cucumber.CucumberTestReportPublisher
-
- All Implemented Interfaces:
hudson.model.Describable<hudson.tasks.Publisher>
,hudson.tasks.BuildStep
,jenkins.tasks.SimpleBuildStep
public class CucumberTestReportPublisher extends hudson.tasks.Publisher implements jenkins.tasks.SimpleBuildStep
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CucumberTestReportPublisher.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.tasks.Publisher
hudson.tasks.Publisher.DescriptorExtensionListImpl
-
-
Constructor Summary
Constructors Constructor Description CucumberTestReportPublisher(String reportsDirectory, String fileIncludePattern, String fileExcludePattern, boolean markAsUnstable, boolean copyHTMLInWorkspace, boolean ignoreUndefinedSteps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
generateReport(hudson.model.Run<?,?> build, hudson.FilePath workspace, hudson.model.TaskListener listener)
String
getFileExcludePattern()
String
getFileIncludePattern()
hudson.model.Action
getProjectAction(hudson.model.AbstractProject<?,?> project)
String
getReportsDirectory()
hudson.tasks.BuildStepMonitor
getRequiredMonitorService()
boolean
isCopyHTMLInWorkspace()
boolean
isIgnoreUndefinedSteps()
boolean
isMarkAsUnstable()
void
perform(hudson.model.Run<?,?> run, hudson.FilePath filePath, hudson.Launcher launcher, hudson.model.TaskListener taskListener)
-
Methods inherited from class hudson.tasks.Publisher
all, getDescriptor, getProjectAction, needsToRunAfterFinalized, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectActions, perform, perform, prebuild
-
-
-
-
Method Detail
-
getReportsDirectory
public String getReportsDirectory()
-
getFileIncludePattern
public String getFileIncludePattern()
-
getFileExcludePattern
public String getFileExcludePattern()
-
isMarkAsUnstable
public boolean isMarkAsUnstable()
-
isCopyHTMLInWorkspace
public boolean isCopyHTMLInWorkspace()
-
isIgnoreUndefinedSteps
public boolean isIgnoreUndefinedSteps()
-
generateReport
public boolean generateReport(hudson.model.Run<?,?> build, hudson.FilePath workspace, hudson.model.TaskListener listener) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
perform
public void perform(@Nonnull hudson.model.Run<?,?> run, @Nonnull hudson.FilePath filePath, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener taskListener) throws InterruptedException, IOException
- Specified by:
perform
in interfacejenkins.tasks.SimpleBuildStep
- Throws:
InterruptedException
IOException
-
getRequiredMonitorService
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorService
in interfacehudson.tasks.BuildStep
-
getProjectAction
public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
- Specified by:
getProjectAction
in interfacehudson.tasks.BuildStep
- Overrides:
getProjectAction
in classhudson.tasks.BuildStepCompatibilityLayer
-
-