Restart Job

travis.restart_job
ActionBusiness appsconnection required

Calls the Travis CI API with the connection's credentials.

Re-run one job that has finished or been cancelled.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Travis CI
Secret shape
the API token, or {"api_token": "…"}
Config it needs
base_url
Resolved by
config.connection_id, else node.connection_id

Configuration

1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
job_id
The Travis job id, which a build emits as 'jobs[].id'.
numberYes—≥ 1351744776

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "job_id": 351744776
}

Output

One shape.

result

FieldTypeExample
job_id
The job Travis was asked to restart.
number—
accepted
True once Travis accepted the request.
boolean—
result
The build or job resource Travis returned, as it stands now.
object—
{
  "accepted": false,
  "job_id": 0,
  "result": {}
}

See Restart Job run in a workflow.

In a technical demo we add the Travis CI connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.