cancelQueuedBuild
Cancel pending Jenkins builds before execution to free resources and manage queue efficiently by specifying job name and optional queue ID.
Instructions
Cancel a pending/queued Jenkins build that hasn't started yet
Input Schema
Name | Required | Description | Default |
---|---|---|---|
jobFullName | Yes | Full path of the Jenkins job | |
queueId | No | Specific queue item ID to cancel (optional, cancels all queued items for the job if not provided) |