Exemple #1
0
 private void CreateReportIfNotExists()
 {
     if (ShouldCreateReportFile())
     {
         File.WriteAllText(ReportFilePath, $"<html><head></head><body><style>img{{max-width:100%}}</style>{ImagePlaceholder}</body></html>");
         writeOutput($"Report created at: {ReportFilePath}");
         reportInitizlized = true;
         if (ciAdapter.IsAvailable())
         {
             ciAdapter.SetEnvironmentVariable(ReportVariableName, ReportyVariableVal);
         }
     }
 }