AppVeyorAliases.

AppVeyorProjectLastSuccessfulBuild(ICakeContext, AppVeyorSettings, 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, AppVeyorSettings settings, string accountName, string projectSlug, string branch = null, Nullable<int> beforeBuildId = null)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
settings AppVeyorSettings The settings.
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.