TeamCity command
When you use tc
for the first time you will be prompted with some informations to fill:
- url: http://teamcity.instance.tld
- username: your username on your instance
- password: your password on your instance
- build id for dev: copy from your teamcity instance url the argument buildTypeId (example: http://teamcity.instance.tld/viewType.html?buildTypeId=xxx)
In each repository you will have a .tc file containing build id
for each env.
For example we have :
- 1 environment named dev
- 1 service named go-service
All commands are made at the root of your project go-service in bash.
tc run dev
Silent mode
tc run dev -s
tc last-build dev
tc op dev
tc version