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=5.0.0
dotnet add package Cake.Issues --version 5.0.0
<PackageReference Include="Cake.Issues" Version="5.0.0" />
Aliases
Contains functionality related to reading and creating issues.
Build Breaking
BreakBuildOnIssues |
Fails build if any issues are found matching a specific predicate. |
BreakBuildOnIssues |
Fails build if any issues of certain minimum priority are found. |
BreakBuildOnIssues |
Fails build if any issues from a specific issue provider are found. |
BreakBuildOnIssues |
Fails build if any issues are found. |
Creating Issues
NewIssue |
Initiates the creation of a new IIssue .
|
NewIssue |
Initiates the creation of a new IIssue with message as identifier.
|
File Linking
Issue |
Gets an instance of the file link settings for linking to files based on a custom action. |
Issue |
Gets an instance of the file link settings for linking to files based on a custom pattern. |
Issue |
Gets an instance of the file link settings for linking to files hosted in Azure DevOps in a sub-folder on a specific branch. |
Issue |
Gets an instance of the file link settings for linking to files hosted in Azure DevOps on a specific branch. |
Issue |
Gets an instance of the file link settings for linking to files hosted in Azure DevOps in a sub-folder for a specific commit. |
Issue |
Gets an instance of the file link settings for linking to files hosted in Azure DevOps for a specific commit. |
Issue |
Gets an instance of the file link settings for linking files hosted on GitHub in a sub-folder on a specific branch. |
Issue |
Gets an instance of the file link settings for linking files hosted on GitHub on a specific branch. |
Issue |
Gets an instance of the file link settings for linking files hosted on GitHub in a sub-folder for a specific commit. |
Issue |
Gets an instance of the file link settings for linking files hosted on GitHub fo a specific commit. |
Issue Serialization
Deserialize |
Deserializes an Issue from a JSON file.
|
Deserialize |
Deserializes an Issue from a JSON string.
|
Deserialize |
Deserializes an IEnumerable<T> from a JSON file.
|
Deserialize |
Deserializes an IEnumerable<T> from a JSON string.
|
Serialize |
Serializes an IEnumerable<T> to a JSON file.
|
Serialize |
Serializes an IEnumerable<T> to a JSON string.
|
Serialize |
Serializes an IIssue to a JSON file.
|
Serialize |
Serializes an IIssue to a JSON string.
|
Reading Issues
ReadIssues |
Reads issues from issue providers. |
ReadIssues |
Reads issues from issue providers using the specified settings. |
ReadIssues |
Reads issues from a single issue provider. |
ReadIssues |
Reads issues from a single issue provider using the specified settings. |