Hierarchy (View Summary)

Implements

Constructors

Properties

baseUrl: string
http: HttpClient
rest: RestClient
userAgent: string
vsoClient: VsoClient

Methods

  • Append a log to a task's log. The log should be sent in the body of the request as a TaskLog object stream.

    Parameters

    • customHeaders: any
    • contentStream: ReadableStream

      Content to upload

    • scopeIdentifier: string

      The project GUID to scope the request

    • hubName: string

      The name of the server hub. Common examples: "build", "rm", "checks"

    • planId: string

      The ID of the plan.

    • logId: number

      The ID of the log.

    Returns Promise<TaskLog>

  • Append content to timeline record feed.

    Parameters

    • lines: TimelineRecordFeedLinesWrapper

      Content to be appended to the timeline record feed.

    • scopeIdentifier: string

      The project GUID to scope the request

    • hubName: string

      The name of the server hub. Common examples: "build", "rm", "checks"

    • planId: string

      ID of the plan.

    • timelineId: string

      ID of the task's timeline.

    • recordId: string

      ID of the timeline record.

    Returns Promise<void>

  • Parameters

    • scopeIdentifier: string

      The project GUID to scope the request

    • hubName: string

      The name of the server hub. Common examples: "build", "rm", "checks"

    • planId: string
    • logId: number
    • serializedBlobId: string
    • lineCount: number

    Returns Promise<TaskLog>

  • Parameters

    • customHeaders: any
    • contentStream: ReadableStream

      Content to upload

    • scopeIdentifier: string

      The project GUID to scope the request

    • hubName: string

      The name of the server hub. Common examples: "build", "rm", "checks"

    • planId: string
    • timelineId: string
    • recordId: string
    • type: string
    • name: string

    Returns Promise<TaskAttachment>

  • Parameters

    • scopeIdentifier: string

      The project GUID to scope the request

    • hubName: string

      The name of the server hub. Common examples: "build", "rm", "checks"

    • planId: string
    • timelineId: string
    • recordId: string
    • type: string
    • name: string
    • artifactHash: string
    • length: number

    Returns Promise<TaskAttachment>

  • Create a log and connect it to a pipeline run's execution plan.

    Parameters

    • log: TaskLog

      An object that contains information about log's path.

    • scopeIdentifier: string

      The project GUID to scope the request

    • hubName: string

      The name of the server hub. Common examples: "build", "rm", "checks"

    • planId: string

      The ID of the plan.

    Returns Promise<TaskLog>

  • Parameters

    • claims: { [key: string]: string }
    • scopeIdentifier: string

      The project GUID to scope the request

    • hubName: string

      The name of the server hub. Common examples: "build", "rm", "checks"

    • planId: string
    • jobId: string
    • OptionalserviceConnectionId: string

    Returns Promise<TaskHubOidcToken>

  • Parameters

    • scopeIdentifier: string

      The project GUID to scope the request

    • hubName: string

      The name of the server hub. Common examples: "build", "rm", "checks"

    • planId: string
    • timelineId: string

    Returns Promise<void>

  • Parameters

    • scopeIdentifier: string

      The project GUID to scope the request

    • hubName: string

      The name of the server hub. Common examples: "build", "rm", "checks"

    • planId: string
    • timelineId: string
    • recordId: string
    • type: string
    • name: string

    Returns Promise<TaskAttachment>

  • Parameters

    • scopeIdentifier: string

      The project GUID to scope the request

    • hubName: string

      The name of the server hub. Common examples: "build", "rm", "checks"

    • planId: string
    • timelineId: string
    • recordId: string
    • type: string
    • name: string

    Returns Promise<ReadableStream>

  • Parameters

    • scopeIdentifier: string

      The project GUID to scope the request

    • hubName: string

      The name of the server hub. Common examples: "build", "rm", "checks"

    • planId: string
    • timelineId: string
    • recordId: string
    • type: string

    Returns Promise<TaskAttachment[]>

  • Parameters

    • scopeIdentifier: string

      The project GUID to scope the request

    • hubName: string

      The name of the server hub. Common examples: "build", "rm", "checks"

    • planId: string
    • timelineId: string
    • recordId: string
    • stepId: string
    • OptionalendLine: number
    • OptionaltakeCount: number
    • OptionalcontinuationToken: string

    Returns Promise<TimelineRecordFeedLinesWrapper>

  • Parameters

    • scopeIdentifier: string

      The project GUID to scope the request

    • hubName: string

      The name of the server hub. Common examples: "build", "rm", "checks"

    • planId: string
    • logId: number
    • OptionalstartLine: number
    • OptionalendLine: number

    Returns Promise<string[]>

  • Parameters

    • scopeIdentifier: string

      The project GUID to scope the request

    • hubName: string

      The name of the server hub. Common examples: "build", "rm", "checks"

    • planId: string

    Returns Promise<TaskLog[]>

  • Parameters

    • scopeIdentifier: string

      The project GUID to scope the request

    • hubName: string

      The name of the server hub. Common examples: "build", "rm", "checks"

    • planId: string
    • timelineId: string
    • OptionalchangeId: number

    Returns Promise<TimelineRecord[]>

  • Parameters

    • scopeIdentifier: string

      The project GUID to scope the request

    • hubName: string

      The name of the server hub. Common examples: "build", "rm", "checks"

    • planId: string
    • timelineId: string
    • OptionalchangeId: number
    • OptionalincludeRecords: boolean

    Returns Promise<Timeline>