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.

Built Distribution

buildbot_slack-0.2.3-py3-none-any.whl (5.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page