Class JUnitReportGenerator

java.lang.Object
de.tracetronic.jenkins.plugins.ecutest.report.junit.JUnitReportGenerator

public class JUnitReportGenerator extends Object
Class providing the generation of JUnit reports with ecu.test.
  • 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, InterruptedException
      Generates 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 installation
      reportFiles - the report files
      run - the run
      workspace - the workspace
      launcher - the launcher
      listener - the listener
      Returns:
      true if generation succeeded, false otherwise
      Throws:
      IOException - signals that an I/O exception has occurred
      InterruptedException - if the build gets interrupted