Skip to content

A simple notification plugin that allows using a Telegram messenger as Notification Recipient

License

Notifications You must be signed in to change notification settings

leonoff/bamboo-telegram-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bamboo Telegram Plugin

A simple notification plugin that allows using a Telegram messenger as Notification Recipient.

Installation

$ git clone [email protected]:leonoff/bamboo-telegram-plugin.git
$ cd bamboo-telegram-plugin
$ atlas-package
  • Install plugin into Bamboo
  • Setup Notifications for Build
    • Event: All Builds Completed
    • Recipient type: Telegram
    • Bot API Token: key obtained from Telegram @BotFather
    • Chat identifier: identifier of the target chat (group or user)

Additional Guides

$ curl -s "https://api.telegram.org/botBOT_TOKEN/getUpdates" | json_pp
{
   [
      {
         "message" : {
            "entities" : [
               {
                  "type" : "bot_command",
                  "offset" : 0,
                  "length" : 6
               }
            ],
            "from" : {
               "first_name" : "Mikhail",
               "last_name" : "Leonov",
               "id" : 1000101000
            },
            "date" : 1476823322,
            "chat" : {
               "type" : "private",
               "first_name" : "Mikhail",
               "id" : 163021324,
               "last_name" : "Leonov"
            },
            "message_id" : 10,
            "text" : "/start"
         },
         "update_id" : 57242258
      }
   ]
}

About

A simple notification plugin that allows using a Telegram messenger as Notification Recipient

Resources

License

Stars

Watchers

Forks

Packages

No packages published