Summary
Creates a report for a list of issues with the specific settings.
Syntax
public static FilePath CreateIssueReport(this ICakeContext context, IEnumerable<IIssue> issues, IIssueReportFormat reportFormat, ICreateIssueReportSettings settings)
Examples
Create HTML report using the diagnostic template:
var settings =
new CreateIssueReportSettings(@"c:\repo", @"c:\report.html");
CreateIssueReport(
issues,
GenericIssueReportFormatFromEmbeddedTemplate(GenericIssueReportTemplate.HtmlDiagnostic),
settings);
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
CakeAliasCategoryAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
issues |
IEnumerable<IIssue> |
Issues for which the report should be generated. |
reportFormat |
IIssueReportFormat |
Format in which the report should be generated. |
settings |
ICreateIssueReportSettings |
The settings. |
Return Value
Type |
Description |
FilePath |
Path to the created report or null if report could not be created. |