Class TestNGTestReportPublisher
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- com.github.bogdanlivadariu.jenkins.reporting.testng.TestNGTestReportPublisher
-
- All Implemented Interfaces:
hudson.model.Describable<hudson.tasks.Publisher>,hudson.tasks.BuildStep,jenkins.tasks.SimpleBuildStep
public class TestNGTestReportPublisher extends hudson.tasks.Publisher implements jenkins.tasks.SimpleBuildStep
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTestNGTestReportPublisher.DescriptorImpl-
Nested classes/interfaces inherited from class hudson.tasks.Publisher
hudson.tasks.Publisher.DescriptorExtensionListImpl
-
-
Constructor Summary
Constructors Constructor Description TestNGTestReportPublisher(String reportsDirectory, String fileIncludePattern, String fileExcludePattern, boolean markAsUnstable, boolean copyHTMLInWorkspace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFileExcludePattern()StringgetFileIncludePattern()hudson.model.ActiongetProjectAction(hudson.model.AbstractProject<?,?> project)StringgetReportsDirectory()hudson.tasks.BuildStepMonitorgetRequiredMonitorService()booleanisCopyHTMLInWorkspace()booleanisMarkAsUnstable()voidperform(hudson.model.Run<?,?> run, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener)-
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()
-
isCopyHTMLInWorkspace
public boolean isCopyHTMLInWorkspace()
-
getFileIncludePattern
public String getFileIncludePattern()
-
getFileExcludePattern
public String getFileExcludePattern()
-
isMarkAsUnstable
public boolean isMarkAsUnstable()
-
perform
public void perform(@Nonnull hudson.model.Run<?,?> run, @Nonnull hudson.FilePath workspace, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener) throws InterruptedException, IOException
- Specified by:
performin interfacejenkins.tasks.SimpleBuildStep- Throws:
InterruptedExceptionIOException
-
getRequiredMonitorService
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorServicein interfacehudson.tasks.BuildStep
-
getProjectAction
public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
- Specified by:
getProjectActionin interfacehudson.tasks.BuildStep- Overrides:
getProjectActionin classhudson.tasks.BuildStepCompatibilityLayer
-
-