This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Issues.
Summary
Reads issues from issue providers using the specified settings.
- Assembly
- Cake
.Issues .dll - Namespace
- Cake
.Issues - Containing Type
- Aliases
Syntax
public static IEnumerable<IIssue> ReadIssues(this ICakeContext context, IEnumerable<IIssueProvider> issueProviders, IReadIssuesSettings settings)
Examples
Read issues reported as MsBuild warnings and issues reported by JetBrains inspect code and set run information:
var settings =
new ReadIssuesSettings(@"c:\repo")
{
Run = "My run"
};
var issues =
ReadIssues(
new List<IIssueProvider>
{
MsBuildIssuesFromFilePath(
@"C:\build\msbuild.log",
MsBuildXmlFileLoggerFormat),
InspectCodeIssuesFromFilePath(
@"C:\build\inspectcode.log")
},
settings));
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
issueProviders | IEnumerable |
The list of provider for issues. |
settings | IReadIssuesSettings | The settings. |
Return Value
Type | Description |
---|---|
IEnumerable |
Issues reported by all issue providers. |