Out of the box support

The AppVeyor alias, which returns an IAppVeyorProvider instance can be used to interact with the AppVeyor environment.

The following example writes an error message if running on AppVeyor:

if (BuildSystem.AppVeyor.IsRunningOnAppVeyor)
            "This is a error message.",
            "Error details."
    Information("Not running on AppVeyor");

See IAppVeyorProvider for details and available methods to interact with AppVeyor.

Available 3rd party extensions

Cake.AppVeyor by Jonathan Dick
A set of aliases for Cake to access the AppVeyor REST API's
AppVeyor support for the Cake.Issues addin allows you to write found issues as message to AppVeyor builds. This addin provides the aliases for writing to AppVeyor builds. It also requires the core Cake.Issues and Cake.Issues.PullRequests addins and one or more issue providers. See for an overview of the whole ecosystem of addins for working with issues in Cake scripts.