AppVeyorBuildsAliases.

AppVeyorBuilds(ICakeContext, AppVeyorBuildSettings) Method

Summary

Gets an object for writing issues to AppVeyor builds using the specified settings.

Syntax

public static IPullRequestSystem AppVeyorBuilds(this ICakeContext context, AppVeyorBuildSettings settings)

Examples

Report code analysis issues reported as MsBuild warnings to an AppVeyor build:

 var appVeyorSettings =
         new AppVeyorBuildSettings
         {
             MessagePattern = "Project: {ProjectName}, File: {FilePath}, Line: {Line}"
         };

     ReportCodeAnalysisIssuesToPullRequest(
         MsBuildCodeAnalysis(
             @"c:\build\msbuild.log",
             MsBuildXmlFileLoggerFormat),
         AppVeyorBuilds(appVeyorSettings),
         @"c:\repo");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
settings AppVeyorBuildSettings Settings for accessing AppVeyor.

Return Value

Type Description
IPullRequestSystem Object for writing issues to AppVeyor builds.
GitHub