code: private void publishLrReports(@Nonnull Run<?, ?> build) throws IOException {
          File reportDirectory = new File(build.getRootDir(), PERFORMANCE_REPORT_FOLDER);
          if (reportDirectory.exists()) {
              File htmlIndexFile = new File(reportDirectory, INDEX_HTML_NAME);
              if (htmlIndexFile.exists()) {
                  build.replaceAction(new PerformanceReportAction(build));
              }
          }
  
          File summaryDirectory = new File(build.getRootDir(), TRANSACTION_SUMMARY_FOLDER);
          if (summaryDirectory.exists()) {
              File htmlIndexFile = new File(summaryDirectory, INDEX_HTML_NAME);
              if (htmlIndexFile.exists()) {
                  build.replaceAction(new TransactionSummaryAction(build));
              }
          }
      }
docs: Adds the html reports actions to the left side menu.
  
  @param build