Teamcity dashboard is a fun project that allows you to monitoring Teamcity builds in your command line. It use go language and termui library for building ui interface in console.
Look demo video to understand how Teamcity board is works.
You should download binary file for MacOS or Linux. If there is't version for your platform, you may compile it from source code manually. After that use teamcity-board
command with that environment variables:
Param | Description | Type | Required | Default Value |
---|---|---|---|---|
TEAMCITY_HOST | Teamcity host | String | yes | no |
TEAMCITY_PORT | Teamcity port | Int | no | 8111 |
TEAMCITY_PROJECT_ID | Project id which you want to monitor | String | yes | no |
TEAMCITY_AUTH_HEADER | Basic auth header for base64(login:password) | String | yes | no |
TEAMCITY_UPDATE_INTERVAL | Interval in seconds between data update | Int | no | 15 |
You may add this params to starting command:
TEAMCITY_HOST="http://teamcity" TEAMCITY_AUTH_HEADER="Basic <token>" TEAMCITY_PROJECT_ID="AndroidProjects_AvitoPro" ./teamcity-board
or set it in ~/.bashrc
file.
It's not secure to storing basic auth information in your environment variables. This token contains your teamcity login:password "encrypted" using Base64 algorithm that easy to "decrypt".