Cake.AppVeyor

A set of aliases for Cake to access the AppVeyor REST API's

#addin nuget:?package=Cake.AppVeyor&version=6.0.0

dotnet add package Cake.AppVeyor --version 6.0.0

<PackageReference Include="Cake.AppVeyor" Version="6.0.0" />

Aliases

AppVeyor API related cake aliases.

In order to use aliases from this addin, you will need to also reference Refit and Newtonsoft.Json as an addin. Here is what including Cake.AppVeyor in your script should look like:

#addin package:?Cake.AppVeyor
#addin package:?Refit&version=4.6.58
#addin package:?Newtonsoft.Json&version=11.0.2

General

AppVeyorCancelBuild(string, string, string, string) Cancels a build.
AppVeyorCancelDeployment(string, int) Cancels a Deployment.
AppVeyorClearCache(AppVeyorSettings, string, string) Clears the AppVeyor Cache using additional settings in AppVeyorSettings.
AppVeyorClearCache(string, string, string) Clears the AppVeyor Cache.
AppVeyorDeployment(string, int) Gets the specified Deployment.
AppVeyorEnvironmentDeployments(string, int) Gets Deployments for the given Environment.
AppVeyorEnvironments(string) Gets Environments.
AppVeyorProjectBuildByVersion(string, string, string, string) Gets the project build by version.
AppVeyorProjectDeployments(string, string, string) Gets the Deployments for a given project.
AppVeyorProjectHistory(AppVeyorSettings, string, string, int, Nullable<int>, string) Gets the project build history using additional settings in AppVeyorSettings.
AppVeyorProjectHistory(string, string, string, int, Nullable<int>, string) Gets the project build history.
AppVeyorProjectLastBranchBuild(string, string, string, string) Gets the last build on the specified branch of the project.
AppVeyorProjectLastBuild(AppVeyorSettings, string, string) Gets the last build of the project using additional settings in AppVeyorSettings.
AppVeyorProjectLastBuild(string, string, string) Gets the last build of the project.
AppVeyorProjectLastSuccessfulBuild(AppVeyorSettings, string, string, string, Nullable<int>) Gets the last successful build of the project using additional settings in AppVeyorSettings.
AppVeyorProjectLastSuccessfulBuild(string, string, string, string, Nullable<int>) Gets the last successful build of the project.
AppVeyorProjects(AppVeyorSettings) Gets all projects using additional settings in AppVeyorSettings.
AppVeyorProjects(string) Gets all projects.
AppVeyorStartBuildLatestCommit(string, string, string, string, Dictionary<string, string>) Starts a build from the latest commit.
AppVeyorStartBuildPullRequest(string, string, string, int) Starts a build for the given GitHub pull request.
AppVeyorStartBuildSpecificCommit(string, string, string, string, string) Starts a build for a specific commit.
AppVeyorStartDeployment(string, string, string, string, string, string, Dictionary<string, string>) Starts a Deployment.