Class JUnitReportGenerator
java.lang.Object
de.tracetronic.jenkins.plugins.ecutest.report.junit.JUnitReportGenerator
Class providing the generation of JUnit reports with ecu.test.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
generate
(ETInstallation installation, List<FilePath> reportFiles, Run<?, ?> run, FilePath workspace, Launcher launcher, TaskListener listener) Generates UNIT reports by invoking the startup of ecu.test if not already running, otherwise using the current instance without closing when finished.
-
Constructor Details
-
JUnitReportGenerator
public JUnitReportGenerator()
-
-
Method Details
-
generate
public boolean generate(ETInstallation installation, List<FilePath> reportFiles, Run<?, ?> run, FilePath workspace, Launcher launcher, TaskListener listener) throws IOException, InterruptedExceptionGenerates UNIT reports by invoking the startup of ecu.test if not already running, otherwise using the current instance without closing when finished.- Parameters:
installation
- the installationreportFiles
- the report filesrun
- the runworkspace
- the workspacelauncher
- the launcherlistener
- the listener- Returns:
true
if generation succeeded,false
otherwise- Throws:
IOException
- signals that an I/O exception has occurredInterruptedException
- if the build gets interrupted
-