Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
jetbrains avatar

Teamcity Cli

  • 408 installs
  • 119 repo stars
  • Updated August 3, 2026
  • jetbrains/teamcity-cli

teamcity-cli is an agent skill that Use when working with TeamCity CI/CD or when a user provides a TeamCity build URL — drives the `teamcity` CLI for builds, logs, jobs, queues, agents, pools, pro.

About

Use when working with TeamCity CI/CD or when a user provides a TeamCity build URL - drives the `teamcity` CLI for builds, logs, jobs, queues, agents, pools, projects, and pipelines. --- name: teamcity-cli version: 1.2.0 description: Use when working with TeamCity CI/CD or when a user provides a TeamCity build URL - drives the `teamcity` CLI for builds, logs, jobs, queues, agents, pools, projects, and pipelines. --- # TeamCity CLI (`teamcity`) ## Quick Start ```bash teamcity auth status # Check authentication teamcity run list --status failure # Find failed builds teamcity run log <id> --failed --raw # Full failure diagnostics ``` **Do not guess flags or syntax.** Use the [command reference](references/commands.md) or `teamcity <command> --help`. Builds are **runs** (`teamcity run`); build configurations are **jobs** (`teamcity job`). Never use `--count` - use `--limit` (or `-n`). ## Gotchas - **Composite builds have empty logs** - drill into child builds for the actual failure.

  • TeamCity CLI (`teamcity`)
  • **Composite builds have empty logs** - drill into child builds for the actual failure.
  • **Build chains fail bottom-up** - deepest failed dependency is the root cause. Use `teamcity run tree <id>`.
  • **`--local-changes` excludes Kotlin DSL** - push `.teamcity/` changes before running.
  • **`TEAMCITY_URL` alone bypasses stored auth** - set both `TEAMCITY_URL` and `TEAMCITY_TOKEN`, or leave unset.

Teamcity Cli by the numbers

  • 408 all-time installs (skills.sh)
  • +32 installs in the week ending Aug 2, 2026 (Skillselion tracking)
  • Ranked #388 of 1,039 Cloud & Infrastructure skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
At a glance

teamcity-cli capabilities & compatibility

Capabilities
teamcity cli (`teamcity`) · **composite builds have empty logs** — drill int · **build chains fail bottom up** — deepest failed · **` local changes` excludes kotlin dsl** — push · **`teamcity_url` alone bypasses stored auth** —
Use cases
documentation
From the docs

What teamcity-cli says it does

Builds are **runs** (`teamcity run`); build configurations are **jobs** (`teamcity job`).
SKILL.md
Never use `--count` — use `--limit` (or `-n`).
SKILL.md
## Gotchas - **Composite builds have empty logs** — drill into child builds for the actual failure.
SKILL.md
- **Build chains fail bottom-up** — deepest failed dependency is the root cause.
SKILL.md
npx skills add https://github.com/jetbrains/teamcity-cli --skill teamcity-cli

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs408
repo stars119
Last updatedAugust 3, 2026
Repositoryjetbrains/teamcity-cli

What problem does teamcity-cli solve for developers using this skill?

Use when working with TeamCity CI/CD or when a user provides a TeamCity build URL - drives the `teamcity` CLI for builds, logs, jobs, queues, agents, pools, projects, and pipelines.

Who is it for?

Developers who need teamcity-cli patterns described in the cached skill documentation.

Skip if: Skip when docs are empty or the task is outside the skill's documented scope.

When should I use this skill?

Use when working with TeamCity CI/CD or when a user provides a TeamCity build URL — drives the `teamcity` CLI for builds, logs, jobs, queues, agents, pools, projects, and pipelines.

What you get

Actionable workflows and conventions from SKILL.md for teamcity-cli.

  • Build log diagnostics
  • Pipeline validate/push results
  • JSON-scriptable CI command output

By the numbers

  • Agent skill version 1.2.0 bundled with teamcity CLI
  • Covers 13 command areas from auth through pipeline and api

Files

SKILL.mdMarkdownGitHub ↗

TeamCity CLI (teamcity)

Quick Start

teamcity auth status                    # Check authentication
teamcity run list --status failure      # Find failed builds
teamcity run log <id> --failed --raw    # Full failure diagnostics

Do not guess flags or syntax. Use the command reference or teamcity <command> --help. Builds are runs (teamcity run); build configurations are jobs (teamcity job). Never use --count — use --limit (or -n).

Gotchas

  • Composite builds have empty logs — drill into child builds for the actual failure.
  • Build chains fail bottom-up — deepest failed dependency is the root cause. Use teamcity run tree <id>.
  • `--local-changes` excludes Kotlin DSL — push .teamcity/ changes before running.
  • `TEAMCITY_URL` alone bypasses stored auth — set both TEAMCITY_URL and TEAMCITY_TOKEN, or leave unset.
  • Logs: use --raw and dump to a temp file. Builds: use --watch when starting them.
  • VCS triggers aren't always wired up — after pushing a fix you may need to start builds manually.
  • `pipeline push` does not validate — always teamcity pipeline validate first.
  • GitHub VCS roots: use a GitHub App connection. Never paste a PAT via --auth password. See workflows.

Core Commands

AreaCommands
Authauth login, logout, status
Buildsrun list, view, start, watch, log, cancel, restart, tests, changes, tree
Artifactsrun artifacts, run download
Metadatarun pin/unpin, run tag/untag, run comment
Jobsjob list, view, create, tree, pause/resume, step list/view/add/delete, param list/get/set/delete, settings list/get/set
Projectsproject list, view, create, tree, param, token put/get, settings export/status
VCS/Connproject vcs list/view/create/delete, project connection list/create/authorize/delete
Queuequeue list, approve, remove, top
Agentsagent list, view, enable/disable, authorize/deauthorize, exec, term, reboot, move
Poolspool list, view, link/unlink
Pipelinespipeline list, view, create, validate, pull, push, schema, delete
APIteamcity api <endpoint> — raw REST access
Linkteamcity link — bind repo via teamcity.toml

Quick Workflows

See Workflows for full details on each.

  • Investigate failure: run list --status failurerun log <id> --failed --rawrun tests <id> --failed
  • Debug build chain: run tree <id> → drill to deepest failed child
  • Fix and verify: edit → push → run start --watch (use --local-changes for personal builds)
  • Pipeline lifecycle: pipeline pull <id> → edit → pipeline validatepipeline push <id>, pipeline schema to get the actual schema from the server
  • GitHub VCS: connection create github-appconnection authorize → install App on repo → vcs create --auth token --connection-id <id>
  • Docker registry: echo $TOKEN | connection create docker -p <id> --name X --url https://ghcr.io --username U --stdin

References

  • Command reference — all commands and flags
  • Workflows — failure investigation, build chains, connections, pipelines
  • Output formats — JSON, plain text, scripting

Related skills

How it compares

Use teamcity-cli when the CI server is JetBrains TeamCity; for GitHub Actions workflow editing, use GitHub Actions-specific skills instead.

FAQ

What does teamcity-cli do?

Use when working with TeamCity CI/CD or when a user provides a TeamCity build URL — drives the `teamcity` CLI for builds, logs, jobs, queues, agents, pools, projects, and pipelines.

When should I use teamcity-cli?

Use when working with TeamCity CI/CD or when a user provides a TeamCity build URL — drives the `teamcity` CLI for builds, logs, jobs, queues, agents, pools, projects, and pipelines.

Is teamcity-cli safe to install?

Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.