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

srzkptrsk/bamboo-telegram-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
      }
   ]
}

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 97.4%
  • FreeMarker 2.6%