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 from a specific issue provider are found.
- Assembly
- Cake
.Issues .dll - Namespace
- Cake
.Issues - Containing Type
- Aliases
Syntax
public static void BreakBuildOnIssues(this ICakeContext context, IEnumerable<IIssue> issues, string providerType)
Examples
Fails build if issues from MsBuild are found:
BreakBuildOnIssues(issues, MsBuildIssuesProviderTypeName);
Attributes
| Type | Description |
|---|---|
| Cake |
|
| Cake |
Parameters
| Name | Type | Description |
|---|---|---|
| context | ICakeContext | The context. |
| issues | IEnumerable |
Issues which should be checked. |
| providerType | string | Type of the issue provider. |
Return Value
| Type | Description |
|---|---|
| void |
