Telegram bot for monitoring builds in TeamCity. To setup you have to place a file config.json
similar with config-example.json into root directory.
Some subtle settings:
check-interval-ms
- interval to request TeamCity APIauth
- username/password for TeamCityadmin-chat-id
- see belowgit-commit-url-base
- base url to generate commit link (with trailing slash)
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
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
help - Информация по командам
branch - Задать ветку
status - Проверить статус
tests - Проверить билды
lastchanges - Получать информацию об N последних изменений в ветке (авторы и коммиты)
watchon - Наблюдать за билдами ветки (уведомляет, если что-то изменилось)
watchoff - Перестать наблюдать за билдами ветки
receivereports - Задать расписание отчетов билдов по дефолтной ветке (без аргументов — по будням в 9 утра)
removereports - Отключить получение регулярных отчетов
- NodeJS: 8+