Skip to content

v1.2.0

Choose a tag to compare

@tiulpin tiulpin released this 19 Jun 08:36
· 9 commits to main since this release
Immutable release. Only release title and notes can be modified.
cdd1f78

What's New

New Features

TeamCity CLI gains new commands for managing jobs, build steps, and settings: job create, job step, and setting subcommands for listing, getting, and setting job settings. You can now follow a specific test's history with run tests --test, navigate directly to TeamCity UI pages, and use --limit 0 to fetch all results with a truncation hint.

Improvements

The CLI now shows an activity spinner during long-running fetches and degrades Unicode glyphs to ASCII on terminals that do not support them. The startup banner is suppressed when --quiet is set or TERM=dumb is in effect.

Bug Fixes

Several correctness fixes have been applied: shell alias subprocesses now receive raw stdio streams and correctly preserve positional arguments containing spaces or quotes, --json output no longer includes progress text or serializes empty lists as null, artifact download failures now cause a non-zero exit, and user-supplied values are properly escaped in request paths and locators.

Changelog

Installation

macOS & Linux

Homebrew (recommended):

brew install jetbrains/utils/teamcity

Install script:

curl -fsSL https://jb.gg/tc/install | bash

Debian/Ubuntu:

curl -fsSLO https://github.com/JetBrains/teamcity-cli/releases/download/v1.2.0/teamcity_linux_amd64.deb
sudo dpkg -i teamcity_linux_amd64.deb

RHEL/Fedora:

sudo rpm -i https://github.com/JetBrains/teamcity-cli/releases/download/v1.2.0/teamcity_linux_amd64.rpm

Arch Linux (AUR):

yay -S teamcity-bin

Windows

Winget (recommended):

winget install JetBrains.TeamCityCLI

Chocolatey:

choco install TeamCityCLI

Scoop:

scoop bucket add jetbrains https://github.com/JetBrains/scoop-utils
scoop install teamcity

Manual:
Download teamcity_1.2.0_windows_x86_64.zip, extract, and add to PATH.

npm

npm install -g @jetbrains/teamcity-cli

Go Install

go install github.com/JetBrains/teamcity-cli/tc@v1.2.0

Quick Start

# Authenticate with your TeamCity server
teamcity auth login

# List recent builds
teamcity run list

# Start a build
teamcity run start MyProject_Build --branch main --watch

Full documentation — getting started, configuration, command reference, and more.