Represents a reference to a build definition.

interface BuildDefinitionReference {
    _links?: any;
    authoredBy?: IdentityRef;
    createdDate?: Date;
    draftOf?: DefinitionReference;
    drafts?: DefinitionReference[];
    id?: number;
    latestBuild?: Build;
    latestCompletedBuild?: Build;
    metrics?: BuildMetric[];
    name?: string;
    path?: string;
    project?: TeamProjectReference;
    quality?: DefinitionQuality;
    queue?: AgentPoolQueue;
    queueStatus?: DefinitionQueueStatus;
    revision?: number;
    type?: DefinitionType;
    uri?: string;
    url?: string;
}

Hierarchy (View Summary)

Properties

_links?: any
authoredBy?: IdentityRef

The author of the definition.

createdDate?: Date

The date this version of the definition was created.

A reference to the definition that this definition is a draft of, if this is a draft definition.

The list of drafts associated with this definition, if this is not a draft definition.

id?: number

The ID of the referenced definition.

latestBuild?: Build
latestCompletedBuild?: Build
metrics?: BuildMetric[]
name?: string

The name of the referenced definition.

path?: string

The folder path of the definition.

A reference to the project.

The quality of the definition document (draft, etc.)

The default queue for builds run against this definition.

queueStatus?: DefinitionQueueStatus

A value that indicates whether builds can be queued against this definition.

revision?: number

The definition revision number.

The type of the definition.

uri?: string

The definition's URI.

url?: string

The REST URL of the definition.