Project

class tokki.abc.Project(data, client)

Base for all Continous Integration projects.

A Project is a Repo inside a CI service.

It takes the same parameters as Repo.

abstract 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]

abstract 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.