Travis CI API Docs

Stages

A list of stages.

Currently this is nested within a build.

Attributes

NameTypeDescription
stages[Stage]List of stages.

Collection Items

Each entry in the stages array has the following attributes:

NameTypeDescription
idIntegerValue uniquely identifying the stage.
numberIntegerIncremental number for a stage.
nameStringThe name of the stage.
stateStringCurrent state of the stage.
started_atStringWhen the stage started.
finished_atStringWhen the stage finished.
jobs[Job]The jobs of a stage.

Actions

Find

This returns a list of stages belonging to an individual build.

GET
/build/{build.id}/stages
Template VariableTypeDescription
build.idIntegerValue uniquely identifying the build.
Query ParameterTypeDescription
include[String]List of attributes to eager load.

Example:GET /build/86601346/stages