Retry a job (passed through)
The service reruns the job with the build's original env, so it can
clone for as long as the build's read token lives: at least 24 hours
after Pando started the build. The new job is recorded at once and
its check goes back to pending. Needs write_builds.
POST
https://app.gitpando.com/v1/monorepos/{owner}/{monorepo}/ci/builds/{build}/jobs/{job}/retryAuthorisation
Path parameters
Returns
202
Retrying
JSON
2 variants
One of the following:
- CiJob{ … }
16 properties
- idstringrequired
The service's job id.
- buildstringrequired
- typestringrequired
script,triggerormanual. - statequeuedorrunningorblockedorpassedorfailedorcanceled+1 morerequired
One vocabulary for every service. Buildkite's scheduled and waiting are queued, failing and canceling are running, not_run and broken are skipped;
service_statekeeps the service's own word. - service_statestringrequired
- checkstring | nullrequired
The check (status context) it reports, its step key; null for jobs that report none.
- nameoptionalstring | null
- step_keyoptionalstring | null
- exit_statusoptionalinteger | null
- soft_failedoptionalboolean
- retriedoptionalboolean
A newer job replaced it (Retry).
- web_urloptionalstring | null
- created_atoptionalstring | nullformat: date-time
- started_atoptionalstring | nullformat: date-time
- finished_atoptionalstring | nullformat: date-time
- duration_soptionalinteger | null
- null
404
An error
JSON
409
An error
JSON
503
An error
JSON