AppVeyorAliases.

AppVeyorProjectLastSuccessfulBuild(ICakeContext, string, string, string, string, Nullable<int>) Method

Summary

Gets the last successful build of the project.
Assembly
Cake.AppVeyor.dll
Namespace
Cake.AppVeyor
Containing Type
AppVeyorAliases

Syntax

public static AppVeyorProjectBuild AppVeyorProjectLastSuccessfulBuild(this ICakeContext context, string appVeyorApiToken, string accountName, string projectSlug, string branch = null, Nullable<int> beforeBuildId = null)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
appVeyorApiToken string The API Token.
accountName string The account name.
projectSlug string The project slug.
branch string The branch.
beforeBuildId Nullable<int> The build identifier to start looking for a successful build after.

Return Value

Type Description
AppVeyorProjectBuild The project's last successful build.