Managing the Build Queue
The build queue holds builds waiting to be assigned to an available agent. The teamcity queue command group lets you inspect queued builds, control their priority, approve builds that require manual approval, and remove builds from the queue.
Listing queued builds
View all builds currently in the queue:
Filter by job:
Limit results and output as JSON:
queue list flags
Flag | Description |
|---|---|
| Filter by job (build configuration) ID |
| Maximum number of queued runs to display |
| Output as JSON. Use |
Prioritizing a build
Move a queued build to the top of the queue, giving it the highest priority:
This is useful when a critical build needs to run before others in the queue.
Approving a build
Some build configurations require manual approval before they can run. Approve a queued build:
Removing a build from the queue
Remove a build from the queue:
Use --force to skip the confirmation prompt: