code: private void createTransactionSummary(FilePath reportFolder,
                                            String testFolderPath,
                                            File artifactsDir,
                                            List<String> reportNames,
                                            TestResult testResult) throws IOException, InterruptedException {
  
          File testFolderPathFile = new File(testFolderPath);
          String subFolder = HTML_REPORT_FOLDER + File.separator + IE_REPORT_FOLDER + File.separator + HTML_REPORT_FOLDER;
          FilePath htmlReportPath = new FilePath(reportFolder, subFolder);
          if (htmlReportPath.exists()) {
              File reportDirectory = new File(artifactsDir.getParent(), TRANSACTION_SUMMARY_FOLDER);
              if (!reportDirectory.exists()) {
                  reportDirectory.mkdir();
              }
              String newFolderName = org.apache.commons.io.FilenameUtils.getName(testFolderPathFile.getPath());
              File testDirectory = new File(reportDirectory, newFolderName);
              if (!testDirectory.exists()) {
                  testDirectory.mkdir();
              }
  
              FilePath dstReportPath = new FilePath(testDirectory);
              FileFilter reportFileFilter = new WildcardFileFilter(TRANSACTION_REPORT_NAME + ".*");
              List<FilePath> reporFiles = htmlReportPath.list(reportFileFilter);
              for (FilePath fileToCopy : reporFiles) {
                  FilePath dstFilePath = new FilePath(dstReportPath, fileToCopy.getName());
                  fileToCopy.copyTo(dstFilePath);
              }
              FilePath cssFilePath = new FilePath(htmlReportPath, "Properties.css");
              if (cssFilePath.exists()) {
                  FilePath dstFilePath = new FilePath(dstReportPath, cssFilePath.getName());
                  cssFilePath.copyTo(dstFilePath);
              }
              FilePath pngFilePath = new FilePath(htmlReportPath, "tbic_toexcel.png");
              if (pngFilePath.exists()) {
                  FilePath dstFilePath = new FilePath(dstReportPath, pngFilePath.getName());
                  pngFilePath.copyTo(dstFilePath);
              }
  
              outputReportFiles(reportNames, reportDirectory, testResult, true);
  
          }
  
      }
docs: Copies and creates the transaction summery on the master
  
  @param reportFolder
  @param testFolderPath
  @param artifactsDir
  @param reportNames
  @param testResult
  @throws IOException
  @throws InterruptedException