Skip to main content

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


Download files

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

Source Distribution

buildbot-legacy-slack-adapter-1.0.1.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page