Skip to main content
Pulumi logo Pulumi logo
  1. Docs
  2. Reference
  3. REST API Docs
  4. Schema
  5. DeploymentJob

DeploymentJob

    DeploymentJob represents a deployment job with its status, timing, and step information.

    Properties

    • status enum required
      The current execution status of this job. A deployment reports the status of its job, so this is normally the same value as the deployment’s own status.
      Values:
      not-started — NotStarted
      The work has been created but has not started yet.
      accepted — Accepted
      The work has been picked up for execution but has not started running yet.
      running — Running
      The work is executing.
      failed — Failed
      The work finished without completing successfully. Failures, timeouts, and cancellations are all reported as failed, and there is no separate status for canceled work. This is a terminal status.
      succeeded — Succeeded
      The work completed successfully. This is a terminal status.
      skipped — Skipped
      The work was dropped without ever running. Only deployments report this status. This is a terminal status.
    • started string optional
      The timestamp when the job started.
    • lastUpdated string optional
      The timestamp when the job was last updated.
    • steps array[StepRun] required
      The list of steps in the deployment job.
    • ↳ name string required
      The name of the step.
    • ↳ status enum required
      The current execution status of this step. Steps in a job run in order.
      Values:
      not-started — NotStarted
      The step has not started. Either it is waiting for an earlier step to finish, or it will never run because the job failed or was canceled before reaching it.
      running — Running
      The step is currently executing.
      failed — Failed
      The step did not complete successfully. The job containing it fails, and any later steps in that job are left as not-started. This is a terminal status.
      succeeded — Succeeded
      The step completed successfully. If it was the last step in the job, the job succeeds. Otherwise the job keeps running and the next step starts. This is a terminal status.
    • ↳ started string optional
      The timestamp when the step started.
    • ↳ lastUpdated string optional
      The timestamp when the step was last updated.

      The infrastructure as code platform for any cloud.