Class TRFPublisher
- 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.trf.TRFPublisher
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
,SimpleBuildStep
public class TRFPublisher extends AbstractReportPublisher
Publisher providing links to savedTRFReport
s.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TRFPublisher.DescriptorImpl
DescriptorImpl forTRFPublisher
.-
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 Modifier and Type Field Description static String
TRF_EXCLUDE
Ant-style pattern for excluding job analysis files.static String
TRF_EXCLUDES
Ant-style pattern for excluding job analysis files recursively.static String
TRF_EXTENSION
File name extension of TRF files.static String
TRF_INCLUDE
Ant-style include pattern for listing up top level TRF files.static String
TRF_INCLUDES
Ant-style include pattern for listing up TRF files recursively.protected static String
URL_NAME
The URL name toTRFReport
s holding byAbstractTRFAction
.-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description TRFPublisher()
Instantiates a newTRFPublisher
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getUrlName()
Gets the URL name that will be used for archiving and linking the reports.void
performReport(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener)
Performs the report-specific post-build operations.-
Methods 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, setWorkspace
-
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
-
-
-
-
Field Detail
-
TRF_EXTENSION
public static final String TRF_EXTENSION
File name extension of TRF files.- See Also:
- Constant Field Values
-
TRF_INCLUDE
public static final String TRF_INCLUDE
Ant-style include pattern for listing up top level TRF files.- See Also:
- Constant Field Values
-
TRF_INCLUDES
public static final String TRF_INCLUDES
Ant-style include pattern for listing up TRF files recursively.- See Also:
- Constant Field Values
-
TRF_EXCLUDE
public static final String TRF_EXCLUDE
Ant-style pattern for excluding job analysis files.- See Also:
- Constant Field Values
-
TRF_EXCLUDES
public static final String TRF_EXCLUDES
Ant-style pattern for excluding job analysis files recursively.- See Also:
- Constant Field Values
-
URL_NAME
protected static final String URL_NAME
The URL name toTRFReport
s holding byAbstractTRFAction
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TRFPublisher
@DataBoundConstructor public TRFPublisher()
Instantiates a newTRFPublisher
.
-
-
Method Detail
-
performReport
public void performReport(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener) throws InterruptedException, IOException, ETPluginException
Description copied from class:AbstractReportPublisher
Performs the report-specific post-build operations.- Specified by:
performReport
in 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
protected String getUrlName()
Description copied from class:AbstractReportPublisher
Gets the URL name that will be used for archiving and linking the reports.- Specified by:
getUrlName
in classAbstractReportPublisher
- Returns:
- the URL name
-
-