Skip to content

mrpess1m1st/teamcity-telegram-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fork Telegram Notifier

TeamCity notifications for Telegram messenger

Added support :

  • Markdown
  • Emoji

Installation

To install plugin download zip archive it and copy it to Teamcity <data directory>/plugins (it is $HOME/.BuildServer/plugins under Linux and C:\ProgramData\JetBrains\TeamCity\plugins under Windows). For more information, take a look at official documentation

Configuration

Plugin adds new section "Telegram Notifier" under profile and administration pages.

Administration page

Enter bot token. What it is? To use telegram plugin you should create telegram bot. It sends messages to subscribers. Firstly find BotFather (case sensitive) bot. Then send /newbot command. Enter name and username of new bot. After that, response should contains line like 110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw. It's bot token. More information about creation of bots you can find in Telegram documentation. admin page

Profile page

Telegram bot can't send messages by username or to user who never write to it. So when Teamcity is running send any message to bot. Response should contains you chat id. Add that chat id under profile page. profile page

TODO

  1. This sources contains freemarker templates from Teamcity Jabber plugin. Maybe it violates license. Anybody can view and edit this resources. And this is officially supported by Jetbrains. So I hope there is no problem. But in any case I hope I will be able to know it soon. Of course plugin can simply use same templates from jabber config directory directly, but it's strange.
  2. Managing build start from Telegram application.
  3. Right know I don't understand how to properly test Teamcity plugins.

About

TeamCity notifications for Telegram messenger

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 77.4%
  • FreeMarker 17.7%
  • JavaScript 4.6%
  • CSS 0.3%