Cake.Issues

The issues addin allows you to read issue from any code analyzer or linter. This addin provides the aliases for reading issues. It also requires one or more issue provider addins for the specific code analyzer or linter. There are also additional addins for generating reports or posting issues to pull requests. See cakeissues.net for an overview of the whole ecosystem of addins for working with issues in Cake scripts.

#addin nuget:?package=Cake.Issues&version=0.9.1

<package id="Cake.Issues" version="0.9.1" />

dotnet add package Cake.Issues --version 0.9.1

<PackageReference Include="Cake.Issues" Version="0.9.1" />

Aliases

Contains functionality related to reading and creating issues.

Creating Issues

NewIssue(ICakeContext, string, string, string) Initiates the creation of a new IIssue with message as identifier.
NewIssue(ICakeContext, string, string, string, string) Initiates the creation of a new IIssue.

File Linking

IssueFileLinkSettings(ICakeContext, Func<IIssue, Uri>) Gets an instance of the file link settings for linking to files based on a custom action.
IssueFileLinkSettings(ICakeContext, string) Gets an instance of the file link settings for linking to files based on a custom pattern.
IssueFileLinkSettingsForAzureDevOpsBranch(ICakeContext, Uri, string) Gets an instance of the file link settings for linking to files hosted in Azure DevOps on a specific branch.
IssueFileLinkSettingsForAzureDevOpsBranch(ICakeContext, Uri, string, string) Gets an instance of the file link settings for linking to files hosted in Azure DevOps in a sub-folder on a specific branch.
IssueFileLinkSettingsForAzureDevOpsCommit(ICakeContext, Uri, string) Gets an instance of the file link settings for linking to files hosted in Azure DevOps for a specific commit.
IssueFileLinkSettingsForAzureDevOpsCommit(ICakeContext, Uri, string, string) Gets an instance of the file link settings for linking to files hosted in Azure DevOps in a sub-folder for a specific commit.
IssueFileLinkSettingsForGitHubBranch(ICakeContext, Uri, string) Gets an instance of the file link settings for linking files hosted on GitHub on a specific branch.
IssueFileLinkSettingsForGitHubBranch(ICakeContext, Uri, string, string) Gets an instance of the file link settings for linking files hosted on GitHub in a sub-folder on a specific branch.
IssueFileLinkSettingsForGitHubCommit(ICakeContext, Uri, string) Gets an instance of the file link settings for linking files hosted on GitHub fo a specific commit.
IssueFileLinkSettingsForGitHubCommit(ICakeContext, Uri, string, string) Gets an instance of the file link settings for linking files hosted on GitHub in a sub-folder for a specific commit.

Issue Serialization

Reading Issues

ReadIssues(ICakeContext, IEnumerable<IIssueProvider>, DirectoryPath) Reads issues from issue providers.
ReadIssues(ICakeContext, IEnumerable<IIssueProvider>, IReadIssuesSettings) Reads issues from issue providers using the specified settings.
ReadIssues(ICakeContext, IIssueProvider, DirectoryPath) Reads issues from a single issue provider.
ReadIssues(ICakeContext, IIssueProvider, IReadIssuesSettings) Reads issues from a single issue provider using the specified settings.