rerun_workflow
Rerun a CircleCI workflow from start or from the failed job by providing either a workflow ID or URL. Automate retries and resume workflows based on job status.
Instructions
This tool is used to rerun a workflow from start or from the failed job.
Common use cases:
- Rerun a workflow from a failed job
- Rerun a workflow from start
Input options (EXACTLY ONE of these TWO options must be used):
Option 1 - Workflow ID:
- workflowId: The ID of the workflow to rerun
- fromFailed: true to rerun from failed, false to rerun from start. If omitted, behavior is based on workflow status. (optional)
Option 2 - Workflow URL:
- workflowURL: The URL of the workflow to rerun
- Workflow URL: https://app.circleci.com/pipelines/////workflows/
- Workflow Job URL: https://app.circleci.com/pipelines/////workflows//jobs/
- fromFailed: true to rerun from failed, false to rerun from start. If omitted, behavior is based on workflow status. (optional)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
params | No |