Skip to content

Latest commit

 

History

History
64 lines (59 loc) · 1.92 KB

README.md

File metadata and controls

64 lines (59 loc) · 1.92 KB

Bamboo Telegram Plugin

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

Installation

$ git clone git@github.com:srzkptrsk/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" : "First Name",
               "last_name" : "Last Name",
               "id" : 1000101000
            },
            "date" : 1476823322,
            "chat" : {
               "type" : "private",
               "first_name" : "Fisrt Name",
               "id" : 163021324,
               "last_name" : "Last Name"
            },
            "message_id" : 10,
            "text" : "/start"
         },
         "update_id" : 57242258
      }
   ]
}