Aliases.

BreakBuildOnIssues(ICakeContext, IEnumerable<IIssue>, Func<IIssue, bool>) Method

Summary

Fails build if any issues are found matching a specific predicate.
Assembly
Cake.Issues.dll
Namespace
Cake.Issues
Containing Type
Aliases

Syntax

public static void BreakBuildOnIssues(this ICakeContext context, IEnumerable<IIssue> issues, Func<IIssue, bool> predicate)

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.
predicate Func<IIssue, bool> Predicate to .

Return Value

Type Description
void