Project

class tokki.appveyor.AppVeyorProject(data, client)

Project or Repo managed by an AppVeyor user.

Create this class by calling AppVeyorClient.get_repo().

property default_branch

The default branch of the project.

Type

str

async get_builds(*, quantity=10)

Gets a specific number of builds from the project.

Parameters

quantity (int) – How many builds we should get.

Returns

Return type

List[Build]

property name

The name of the repository.

Type

str

property owner

The user or organization that owns the repo.

Type

str

property repo_slug

The slug assigned by Git or Mercurial.

Type

str

property site_slug

The slug assigned by the CI service.

Type

str

async trigger_build(*, branch=None, message=None)

Triggers a manual build of the project.

Parameters
  • branch (str) – The branch to trigger the build from.

  • message (str) – The custom message to show on the build. Custom messages are not available on AppVeyor.