CIService

RetryJob

Retries a failed or cancelled job, along with any skipped jobs that depend on it. Fails when a job that depends on it has already started; use RetryFailedJobs to retry related failures together.

post/depot.ci.v1.CIService/RetryJob

Request

  • Base URL
    https://api.depot.dev
  • Auth
    HTTP bearer

Headers

Connect-Protocol-Version1 required

Define the version of the Connect protocol

Connect-Timeout-Msnumber

Define the timeout, in ms

Request body

workflowIdstring required

Unique identifier for the workflow containing the job. Returned by GetRunStatus and ListWorkflows.

jobIdstring required

Unique identifier for the job to retry. Returned by GetRunStatus and GetWorkflow.

Response

Success

jobIdstring

Unique identifier for the job. Matches the request jobId. A retry creates a new attempt rather than a new job.

attemptIdstring

Empty in the response. The new attempt is created once the job runs again and appears in the attempts array returned by GetJob.

attemptinteger

Attempt number the next attempt will use, one greater than the prior attempt.

statusstring

Updated job status. Should be "queued".

Changes

No recorded changes to this operation across all 1 revision of this API.