https://github.com/vansosnin/billy-tc-bot
🤖 Telegram bot for TeamCity builds monitoring
https://github.com/vansosnin/billy-tc-bot
bot monitoring-builds teamcity telegram-bot
Last synced: 8 months ago
JSON representation
🤖 Telegram bot for TeamCity builds monitoring
- Host: GitHub
- URL: https://github.com/vansosnin/billy-tc-bot
- Owner: vansosnin
- License: mit
- Created: 2017-01-03T20:10:50.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-06-28T13:04:53.000Z (about 8 years ago)
- Last Synced: 2025-03-28T22:33:36.318Z (over 1 year ago)
- Topics: bot, monitoring-builds, teamcity, telegram-bot
- Language: JavaScript
- Homepage:
- Size: 101 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# TeamCity Telegram Bot
[](https://travis-ci.org/vansosnin/billy-tc-bot)
[Telegram](https://telegram.org/) bot for monitoring builds in [TeamCity](https://www.jetbrains.com/teamcity/). To setup you have to place a file `config.json` similar with [config-example.json](https://github.com/vansosnin/billy-tc-bot/blob/master/config-example.json) into root directory.
Some subtle settings:
- `check-interval-ms` - interval to request TeamCity API
- `auth` - username/password for TeamCity
- `admin-chat-id` - see below
- `git-commit-url-base` - base url to generate commit link (with trailing slash)
## Administrator's capabilities
You have to setup `admin-chat-id` to use this.
- Bot sends a message about restart
- You can make a broadcast for all users using command `/broadcast`
## Commands to setup a bot using BotFather
##### en
```
help - Get info about commands
branch - Setup active branch
status - Check bot status
tests - Check builds
lastchanges - Get last N changes on builds in branch (authors and commits)
watchon - Watch on branch's builds (reports if something changes)
watchoff - Stop watching on branch's builds
receivereports - Setup timetable on receiving reports about builds in default branch (no arguments — monday to friday at 9 AM)
removereports - Turn off receiving regular reports
```
##### rus
```
help - Информация по командам
branch - Задать ветку
status - Проверить статус
tests - Проверить билды
lastchanges - Получать информацию об N последних изменений в ветке (авторы и коммиты)
watchon - Наблюдать за билдами ветки (уведомляет, если что-то изменилось)
watchoff - Перестать наблюдать за билдами ветки
receivereports - Задать расписание отчетов билдов по дефолтной ветке (без аргументов — по будням в 9 утра)
removereports - Отключить получение регулярных отчетов
```
## Requirements
- NodeJS: 8+