Managing Jobs
Jobs represent build configurations in TeamCity. The teamcity job command group lets you list and view build configurations, pause and resume them, and manage their parameters.
Listing jobs
View all build configurations:

Filter by project:
Limit the number of results:
Output as JSON:
job list flags
Flag | Description |
|---|---|
| Filter by project ID |
| Maximum number of jobs to display |
| Output as JSON. Use |
Viewing job details
View details of a build configuration:
Open the job page in your browser:
Output as JSON:
Dependency tree
Visualize the snapshot dependency chain for a job. By default, the tree shows both dependents (what gets triggered after this job) and dependencies (what must run before this job):

Show only one direction:
Limit the tree depth:
job tree flags
Flag | Description |
|---|---|
| Limit tree depth (0 = unlimited) |
| Show only |
Pausing and resuming jobs
Pause a job to prevent new builds from being triggered:
Resume a paused job to allow new builds:
Managing job parameters
Listing parameters
View all parameters defined on a job:
Getting a parameter value
Retrieve the value of a specific parameter:
Setting a parameter
Set or update a parameter value:
To mark a parameter as secure (password field), use the --secure flag. Secure parameters have their values hidden in the web interface and build logs:
Deleting a parameter
Remove a parameter from a job: