Skip to content

Latest commit

 

History

History
64 lines (59 loc) · 1.91 KB

README.md

File metadata and controls

64 lines (59 loc) · 1.91 KB

Bamboo Telegram Plugin

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

Installation

$ git clone git@github.com: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
      }
   ]
}