Create Autohold
autohold_createCreate an autohold request to keep nodes after a job failure for debugging. Specify the project, job, and reason; optionally set number of failed builds and hold duration.
Instructions
Create an autohold request — hold nodes after a job failure for debugging.
Requires ZUUL_READ_ONLY=false.
Args: project: Project name (e.g. "org/repo") job: Job name to hold nodes for tenant: Tenant (default from env) reason: Why the hold is needed count: Failed builds to hold (default 1) node_hold_expiration: Seconds to hold nodes (default 86400 = 24h) change: Change filter (optional) ref: Ref filter (optional)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | Yes | ||
| ref | No | ||
| count | No | ||
| change | No | ||
| reason | No | ||
| tenant | No | ||
| project | Yes | ||
| node_hold_expiration | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |