Telegram Notifications Plugin Save

This plugin allows you to send messages from Jenkins jobs to Telegram chat.

Project README

TeleJenkins Build Status

TeleJenkins Logo

This plugin allows Jenkins to send notifications via telegram bot.


Installation

Build from source

  1. To build a plugin, run mvn install. This will create the file ./target/telegram-notifications.hpi
  2. Manually install plugin to your Jenkins

Download an hpi

  1. Download telegram-notifications-*.hpi release here
  2. Manually install plugin to your Jenkins

Plugin Manager

  1. Go to <your_jenkins>/pluginManager/available
  2. Find and install Telegram Bot

Basic usage

Create bot

  1. Find BotFather in Telegram (@BotFather)
  2. Send /newbot command
  3. Follow the instructions

Global config

  1. Open the Jenkins global config
  2. Paste your bot name and token to according textfields

Subscribe for Jenkins messages

  1. In telegram find your bot and send /start command
  2. Send /sub command

Manage your job

  1. Add a build step and/or a post build step
  2. Fill the message (you can use environment variables and simple Markdown)

Use in Pipeline

telegramSend 'Hello World'

Or, to send the message to some specific chat/channel: telegramSend(message: 'Hello World', chatId: 1234567890)

Open Source Agenda is not affiliated with "Telegram Notifications Plugin" Project. README Source: jenkinsci/telegram-notifications-plugin
Stars
71
Open Issues
35
Last Commit
5 months ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating