Aliases.

ReadIssues(ICakeContext, IIssueProvider, IReadIssuesSettings) Method

Summary

Reads issues from a single issue provider using the specified settings.
Assembly
Cake.Issues.dll
Namespace
Cake.Issues
Containing Type
Aliases

Syntax

public static IEnumerable<IIssue> ReadIssues(this ICakeContext context, IIssueProvider issueProvider, IReadIssuesSettings settings)

Examples

Read issues reported by JetBrains inspect code and set run information:

 var settings =
         new ReadIssuesSettings(@"c:\repo")
         {
             Run = "My run"
         };

     var issues =
         ReadIssues(
             InspectCodeIssuesFromFilePath(
                 @"C:\build\inspectcode.log"),
             settings));

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
issueProvider IIssueProvider The provider for issues.
settings IReadIssuesSettings The settings.

Return Value

Type Description
IEnumerable<IIssue> Issues reported by issue provider.
GitHub