Aliases.

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

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

Parameters

Name Type Description
context ICakeContext The context.
issues IEnumerable<IIssue> Issues which should be checked.
providerType string Type of the issue provider.

Return Value

Type Description
void