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.
- Assembly
- Cake
.Issues .dll - Namespace
- Cake
.Issues - Containing Type
- Aliases
Syntax
public static IEnumerable<IIssue> ReadIssues(this ICakeContext context, IEnumerable<IIssueProvider> issueProviders, DirectoryPath repositoryRoot)
Examples
Read issues reported as MsBuild warnings and issues reported by JetBrains inspect code:
var issues =
ReadIssues(
new List<IIssueProvider>
{
MsBuildIssuesFromFilePath(
@"C:\build\msbuild.log",
MsBuildXmlFileLoggerFormat),
InspectCodeIssuesFromFilePath(
@"C:\build\inspectcode.log")
},
@"c:\repo"));
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
issueProviders | IEnumerable |
The list of provider for issues. |
repositoryRoot | DirectoryPath | Root path of the repository. |
Return Value
Type | Description |
---|---|
IEnumerable |
Issues reported by all issue providers. |