Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Team City HTTP client.

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 script
Octocat-spinner-32 spec
Octocat-spinner-32 .hgignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile


Created by Stephen McDonald

A HTTP client for retrieving data from Team City servers. Currently supports the ability to retrieve the number of new build errors for a given build, and display progress for a the build if still in progress while retrieving errors.

Authentication is not yet supported and therefore guest access is required.


$ gem install teamcity-client


teamcity-client can be embedded in your Ruby scripts, or used as a command line utility.

In your Ruby script:

require "rubygems"
require "teamcity-cliemt"

client = "teamcity:8111"
errors = client.build_errors(42)

Via command line:

$ teamcity-client -a host:port -b 42

Command line options:

Usage: teamcity-client [options]

    -b, --build ID                   Check status and new errors for the given build ID (required)
    -a, --address HOST:PORT          Host and port of the TeamCity server (default: teamcity:8111)
    -h, --help                       Show this message
    -v, --version                    Show version
Something went wrong with that request. Please try again.