Class ReportGeneratorPublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
de.tracetronic.jenkins.plugins.ecutest.report.AbstractReportPublisher
de.tracetronic.jenkins.plugins.ecutest.report.AbstractToolPublisher
de.tracetronic.jenkins.plugins.ecutest.report.generator.ReportGeneratorPublisher
- All Implemented Interfaces:
ExtensionPoint,Describable<Publisher>,BuildStep,SimpleBuildStep
Publisher providing links to saved
GeneratorReports.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImplNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringThe URL name toGeneratorReports holding byAbstractReportGeneratorAction.Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
ConstructorsConstructorDescriptionReportGeneratorPublisher(String toolName) Instantiates a newReportGeneratorPublisher. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringGets the URL name that will be used for archiving and linking the reports.voidperformReport(Run<?, ?> run, FilePath workspace, Launcher launcher, TaskListener listener) Performs the report-specific post-build operations.voidsetCustomGenerators(List<ReportGeneratorConfig> customGenerators) voidsetGenerators(List<ReportGeneratorConfig> generators) Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.report.AbstractToolPublisher
configureToolInstallation, getInstallation, getToolClient, getToolName, isInstallationVerified, setInstallationMethods inherited from class de.tracetronic.jenkins.plugins.ecutest.report.AbstractReportPublisher
canContinue, configureToolInstallation, getArchiveTarget, getArchiving, getDescriptor, getDirectorySize, getFileSize, getFirstReportFile, getKeepAll, getLogger, getProjectReportFiles, getReportDir, getReportDirs, getReportFiles, getReportFiles, getRequiredMonitorService, getSettingsDir, getToolClient, getToolDescriptor, getToolInstallation, getWorkspace, getWorkspaceDir, isAllowMissing, isArchiving, isDownstream, isETRunning, isKeepAll, isRunOnFailed, isSkipped, perform, randomId, removePreviousReports, setAllowMissing, setArchiving, setDownstream, setKeepAll, setReportDir, setRunOnFailed, setWorkspaceMethods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, perform, prebuildMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, perform, prebuildMethods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Field Details
-
URL_NAME
The URL name toGeneratorReports holding byAbstractReportGeneratorAction.- See Also:
-
-
Constructor Details
-
ReportGeneratorPublisher
Instantiates a newReportGeneratorPublisher.- Parameters:
toolName- the tool name identifying theETInstallationto be used
-
-
Method Details
-
getGenerators
-
setGenerators
-
getCustomGenerators
-
setCustomGenerators
-
performReport
public void performReport(Run<?, ?> run, FilePath workspace, Launcher launcher, TaskListener listener) throws InterruptedException, IOException, ETPluginExceptionDescription copied from class:AbstractReportPublisherPerforms the report-specific post-build operations.- Specified by:
performReportin classAbstractReportPublisher- Parameters:
run- the runworkspace- the workspacelauncher- the launcherlistener- the listener- Throws:
InterruptedException- the interrupted exceptionIOException- signals that an I/O exception has occurredETPluginException- in case of report operation errors
-
getUrlName
Description copied from class:AbstractReportPublisherGets the URL name that will be used for archiving and linking the reports.- Specified by:
getUrlNamein classAbstractReportPublisher- Returns:
- the URL name
-