Aliases.

BreakBuildOnIssues(ICakeContext, IEnumerable<IIssue>, IssuePriority) Method

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
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
issues IEnumerable<IIssue> Issues which should be checked.
priority IssuePriority Minimum priority of issues which should be considered.

Return Value

Type Description
void