DeploymentJob
DeploymentJob represents a deployment job with its status, timing, and step information.
Properties
statusenum requiredThe 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 ownstatus.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.
startedstring optionalThe timestamp when the job started.lastUpdatedstring optionalThe timestamp when the job was last updated.- The list of steps in the deployment job.
- ↳
namestring requiredThe name of the step. - ↳
statusenum requiredThe 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.
- ↳
startedstring optionalThe timestamp when the step started. - ↳
lastUpdatedstring optionalThe timestamp when the step was last updated.