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 an incoming webhook (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>,
wantSteps=True,
wantProperties=True
)
)
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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc8cbfa5ada2c97cbc1ebc185c982e9fa4943ede20afb460b640db390e0ac091 |
|
MD5 | 277ca18aa7a82c7a018aec0295cac204 |
|
BLAKE2b-256 | bd7b90f4e81d454142a4887164410e01253120d19e503209bc470b3d30887957 |
Hashes for buildbot_legacy_slack_adapter-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 946999b4dcb594efa2ad5b2712f76a8e6f493214904d26ccbab35bdc3c89c5c5 |
|
MD5 | 781defaa53fddcb2cadcebe7ea980e15 |
|
BLAKE2b-256 | bb2b80a7f977797e84d3ffe197926f12a1ef2cdb12b548df188516aed6256bb5 |