Class ATXReportGenerator
java.lang.Object
de.tracetronic.jenkins.plugins.ecutest.report.atx.AbstractATXReportHandler
de.tracetronic.jenkins.plugins.ecutest.report.atx.ATXReportGenerator
Class providing the generation of
ATXReport
s.-
Nested Class Summary
Nested classes/interfaces inherited from class de.tracetronic.jenkins.plugins.ecutest.report.atx.AbstractATXReportHandler
AbstractATXReportHandler.AbstractReportCallable<T>
-
Field Summary
Fields inherited from class de.tracetronic.jenkins.plugins.ecutest.report.atx.AbstractATXReportHandler
ATX_TEMPLATE_NAME
-
Constructor Summary
ConstructorsConstructorDescriptionATXReportGenerator
(ATXInstallation installation) Instantiates a newATXReportGenerator
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
generate
(FilePath archiveTarget, List<FilePath> reportDirs, boolean usePersistedSettings, boolean injectBuildVars, boolean allowMissing, boolean isArchiving, boolean keepAll, Run<?, ?> run, Launcher launcher, TaskListener listener) GeneratesATXReport
s without uploading them.Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.report.atx.AbstractATXReportHandler
getInstallation
-
Constructor Details
-
ATXReportGenerator
Instantiates a newATXReportGenerator
.- Parameters:
installation
- the ATX installation
-
-
Method Details
-
generate
public boolean generate(FilePath archiveTarget, List<FilePath> reportDirs, boolean usePersistedSettings, boolean injectBuildVars, boolean allowMissing, boolean isArchiving, boolean keepAll, Run<?, ?> run, Launcher launcher, TaskListener listener) throws IOException, InterruptedExceptionGeneratesATXReport
s without uploading them.- Parameters:
archiveTarget
- the archive target directoryreportDirs
- the report directoriesusePersistedSettings
- specifies whether to use read settings from persisted configurations fileinjectBuildVars
- specifies whether to inject common build variables as ATX constantsallowMissing
- specifies whether missing reports are allowedisArchiving
- specifies whether archiving artifacts is enabledkeepAll
- specifies whether to keep all artifactsrun
- the runlauncher
- the launcherlistener
- the listener- Returns:
true
if upload succeeded,false
otherwise- Throws:
IOException
- signals that an I/O exception has occurredInterruptedException
- if the build gets interrupted
-