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
File details
Details for the file buildbot-legacy-slack-adapter-1.0.1.tar.gz
.
File metadata
- Download URL: buildbot-legacy-slack-adapter-1.0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc8cbfa5ada2c97cbc1ebc185c982e9fa4943ede20afb460b640db390e0ac091 |
|
MD5 | 277ca18aa7a82c7a018aec0295cac204 |
|
BLAKE2b-256 | bd7b90f4e81d454142a4887164410e01253120d19e503209bc470b3d30887957 |
File details
Details for the file buildbot_legacy_slack_adapter-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: buildbot_legacy_slack_adapter-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 946999b4dcb594efa2ad5b2712f76a8e6f493214904d26ccbab35bdc3c89c5c5 |
|
MD5 | 781defaa53fddcb2cadcebe7ea980e15 |
|
BLAKE2b-256 | bb2b80a7f977797e84d3ffe197926f12a1ef2cdb12b548df188516aed6256bb5 |