This plugin allows you to send messages from Jenkins jobs to Telegram chat.
Setup
Create a Telegram bot
- Find BotFather in Telegram (@BotFather)
- Send /newbot command
- Enter bot name and bot username
Jenkins Global configuration
- Open the Jenkins global config
- Paste your bot name and username to according textfields
- In filed Usernames fill names of users who can get Jenkins messages
(separated by spaces)
- Save
Subscribe for Jenkins messages
- In telegram find your bot and send /start command
- Send */sub *command
Configuration
Manage your job
- Add build-step (or post build-step)
- Fill the message (you can use environment variables and simple
Markdown)
- Save your job