Plugin for integration with Slack on BuildBot 1.3.0.
Project description
Introduction
This plugin enables BuildBot to send messages to Slack channels everytime a build finishes with a certain status. It was created specifically for an old version of BuildBot (1.3.0). If you need a Slack adapter for a more recent version of BuildBot, you should use another plugin (https://github.com/rockwelln/buildbot-slack, for instance).
Installation
pip install buildbot-legacy-slack-adapter
Setup
Create a Slack app and setup one or several incoming webhooks (https://api.slack.com/).
In the master.cfg
BuildBot configuration file, add the following piece of code:
from buildbot.plugins import reporters
c['services'].append(
reporters.SlackStatusPush(
serverUrl=<SLACK_INCOMING_WEBHOOK>
)
)
The plugin supports additional settings that enable you to restrict the builders / builds for which a Slack notification should be sent:
builders
: a list containing the names of the builders whose builds should be monitored (default: all)results
: a list containing the build completion statuses that should trigger a notification (default: success, warnings, failure, skipped, exception, retry, cancelled)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for buildbot-legacy-slack-adapter-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cad3c025ad7914722a59ccf3722c19ba84e2ab5dc7bcf67aee98f7114d8890d1 |
|
MD5 | e171c3d3fa5bd594bbd842e4f9c16ff2 |
|
BLAKE2b-256 | e86b75cec7c7d527271d4fd28196e1fb54a43477e04ee77695faab40ad3b0449 |
Hashes for buildbot_legacy_slack_adapter-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c51c1545bda102afcf965b376df798494fcdd0f14034f27e4bde8d713ff19984 |
|
MD5 | 6ce854a53f6ab4933bd53bf40fb40364 |
|
BLAKE2b-256 | dc1d6b59c1658568b4307c91a9d2575db32bd53ba2f71113e4c04c4607f40e82 |