lexasoft/phpci-telegram-plugin

1.1 2017-01-05 09:26 UTC

This package is auto-updated.

Last update: 2024-08-24 00:04:41 UTC


README

SensioLabsInsight

Codacy Badge

PHPCI-Telegram-Plugin

Telegram plugin for PHPCI

Installation

First of all - composer require lexasoft/phpci-telegram-plugin

Add to project

In the PHPCI Project config section add the Telegram trigger

complete:
    telegram:
        api_key: "<YOUR_BOT_TOKEN_HERE>"
        message: [%ICON_BUILD%] [%PROJECT_TITLE%](%PROJECT_URI%) - [Build #%BUILD%](%BUILD_URI%) has finished for commit [%SHORT_COMMIT% (%COMMIT_EMAIL%)](%COMMIT_URI%) on branch [%BRANCH%](%BRANCH_URI%)
        recipients:
            - <user id>
            - "-<group id>"
            - "@<channel id>"
        send_log: true