Bitbucket Data Center API Client
    Preparing search index...

    Interface BitbucketBuild

    Represents a build status associated with a commit, as returned by the modern builds API (distinct from the legacy /rest/build-status/latest endpoint).

    Returned by GET /rest/api/latest/projects/{key}/repos/{slug}/commits/{id}/builds?key={key}.

    interface BitbucketBuild {
        buildNumber?: string;
        dateAdded?: number;
        description?: string;
        duration?: number;
        key: string;
        lastUpdated?: number;
        name?: string;
        parent?: string;
        ref?: string;
        state: BuildState;
        testResults?: { failed: number; skipped: number; successful: number };
        url: string;
    }
    Index

    Properties

    buildNumber?: string
    dateAdded?: number

    Milliseconds since epoch; defaults to the current date if not provided on creation

    description?: string
    duration?: number
    key: string
    lastUpdated?: number

    Milliseconds since epoch; set by the server

    name?: string
    parent?: string

    Identifier of the plan/job that ran the branch plan that produced this build status

    ref?: string

    Fully qualified git reference, e.g. refs/heads/main

    state: BuildState
    testResults?: { failed: number; skipped: number; successful: number }
    url: string