Skip to main content

buildbot plugin for integration with Slack.

Project description

PyPI version Code style: black

Buildbot plugin to publish status on Slack

This Buildbot plugin sends messages to a Slack channel when each build starts / finishes with a handy link to the build results.

This plugin is based on many other reporter plugins made for Slack

Contributions are welcome!

Install

via pip

pip install buildbot-slack

Setup

Create a new incoming webhook in your slack account. (see https://api.slack.com/tutorials/slack-apps-hello-world)

Then in your master.cfg, add the following:

from buildbot import reporters
c['services'].append(reporters.SlackStatusPush(
    endpoint=<YOUR_WEBHOOK_ENDPOINT>,
))

Additional Options:

  channel = None
  username = None
  attachments = True

Have fun!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for buildbot-slack, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size buildbot_slack-0.2.1-py3-none-any.whl (5.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page