Coder Social home page Coder Social logo

erlangparasu / telegram-notifications-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jenkinsci/telegram-notifications-plugin

0.0 0.0 0.0 65 KB

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

Home Page: https://wiki.jenkins.io/display/JENKINS/Telegram+Notification+Plugin

License: MIT License

Java 100.00%

telegram-notifications-plugin's Introduction

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)

telegram-notifications-plugin's People

Contributors

nikitabelonogovbot avatar amezin avatar wlad031 avatar rpanak-generalbytes avatar alekseiko avatar afanmatvey avatar sturman avatar voland666 avatar daniel-beck-bot avatar marfx000 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.