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
Fails build if any issues of certain minimum priority are found.
- Assembly
- Cake
.Issues .dll - Namespace
- Cake
.Issues - Containing Type
- Aliases
Syntax
public static void BreakBuildOnIssues(this ICakeContext context, IEnumerable<IIssue> issues, IssuePriority priority)
Examples
Fails build if errors are found:
BreakBuildOnIssues(issues, IssuePriority.Error);
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
issues | IEnumerable |
Issues which should be checked. |
priority | IssuePriority | Minimum priority of issues which should be considered. |
Return Value
Type | Description |
---|---|
void |