dcloud deploy deployments build-log

Read the log of a deployment's image build, line by line

IAM deploy:GetBuildLogsRead

Lines as the builder printed them (colours stripped, URL credentials masked), kept with the deployment. Pass the previous answer's `next` as `after` to tail it while it runs; `done` is true once the builder reported its `exitCode` or the build step is over.

Synopsis

dcloud deploy deployments build-log id [flags]

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

Flags

  • --afterOptional

    number

    The previous answer’s next: only lines after this byte offset; omitted, from the start

    Constraints: integer, min 0

  • --limitOptional

    number

    Most lines to return; default 2000

    Constraints: integer, 1-5000

Example

dcloud deploy deployments build-log id

Generated from the API description, the same one the API checks requests against and the CLI is built from.