Class ATXReportUploader
- java.lang.Object
-
- de.tracetronic.jenkins.plugins.ecutest.report.atx.AbstractATXReportHandler
-
- de.tracetronic.jenkins.plugins.ecutest.report.atx.ATXReportUploader
-
public class ATXReportUploader extends AbstractATXReportHandler
Class providing the generation and upload ofATXReport
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
Constructors Constructor Description ATXReportUploader(ATXInstallation installation)
Instantiates a newATXReportUploader
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
upload(List<FilePath> reportDirs, boolean usePersistedSettings, boolean injectBuildVars, boolean allowMissing, Run<?,?> run, Launcher launcher, TaskListener listener)
Generates and uploadsATXReport
s.-
Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.report.atx.AbstractATXReportHandler
getInstallation
-
-
-
-
Constructor Detail
-
ATXReportUploader
public ATXReportUploader(ATXInstallation installation)
Instantiates a newATXReportUploader
.- Parameters:
installation
- the ATX installation
-
-
Method Detail
-
upload
public boolean upload(List<FilePath> reportDirs, boolean usePersistedSettings, boolean injectBuildVars, boolean allowMissing, Run<?,?> run, Launcher launcher, TaskListener listener) throws IOException, InterruptedException
Generates and uploadsATXReport
s.- Parameters:
reportDirs
- the report directoriesusePersistedSettings
- specifies whether to use report generator settings from persisted configurations fileinjectBuildVars
- specifies whether to inject common build variables as ATX constantsallowMissing
- specifies whether missing reports are allowedrun
- 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
-
-