Detailed information about the execution of different operations during pipeline run.

interface TimelineRecord {
    agentSpecification?: any;
    attempt?: number;
    changeId?: number;
    currentOperation?: string;
    details?: TimelineReference;
    errorCount?: number;
    finishTime?: Date;
    id?: string;
    identifier?: string;
    issues?: Issue[];
    lastModified?: Date;
    location?: string;
    log?: TaskLogReference;
    name?: string;
    order?: number;
    parentId?: string;
    percentComplete?: number;
    previousAttempts?: TimelineAttempt[];
    queueId?: number;
    refName?: string;
    result?: TaskResult;
    resultCode?: string;
    startTime?: Date;
    state?: TimelineRecordState;
    task?: TaskReference;
    type?: string;
    variables?: { [key: string]: VariableValue };
    warningCount?: number;
    workerName?: string;
}

Properties

agentSpecification?: any

The specification of an agent running a pipeline job, in binary format. Applicable when record is of type Job.
Example: { "VMImage" : "windows-2019" }

attempt?: number

The number of record attempts.

changeId?: number

The ID connecting all records updated at the same time. This value is taken from timeline's ChangeId.

currentOperation?: string

A string that indicates the current operation.

A reference to a sub-timeline.

errorCount?: number

The number of errors produced by this operation.

finishTime?: Date

The finish time of the record.

id?: string

The ID of the record.

identifier?: string

String identifier that is consistent across attempts.

issues?: Issue[]

The list of issues produced by this operation.

lastModified?: Date

The time the record was last modified.

location?: string

The REST URL of the record.

A reference to the log produced by this operation.

name?: string

The name of the record.

order?: number

An ordinal value relative to other records within the timeline.

parentId?: string

The ID of the record's parent.
Example: Stage is a parent of a Phase, Phase is a parent of a Job, Job is a parent of a Task.

percentComplete?: number

The percentage of record completion.

previousAttempts?: TimelineAttempt[]

The previous record attempts.

queueId?: number

The ID of the queue which connects projects to agent pools on which the operation ran on. Applicable when record is of type Job.

refName?: string

Name of the referenced record.

result?: TaskResult

The result of the record.

resultCode?: string

Evaluation of predefined conditions upon completion of record's operation.
Example: Evaluating succeeded(), Result = True
Example: Evaluating and(succeeded(), eq(variables['system.debug'], False)), Result = False

startTime?: Date

The start time of the record.

The state of the record.

A reference to the task. Applicable when record is of type Task.

type?: string

The type of operation being tracked by the record.
Example: Stage, Phase, Job, Task...

variables?: { [key: string]: VariableValue }

The variables of the record.

warningCount?: number

The number of warnings produced by this operation.

workerName?: string

The name of the agent running the operation. Applicable when record is of type Job.