buildbot-slack-用於與Slack集成的buildbot插件。-Norman Denayer Install Setup

buildbot-slack-用於與Slack集成的buildbot插件。-Norman Denayer

發佈:2020-12-23 09:55:16.695343

做者:Norman Denayer

### 做者郵箱:denayer.norman@gmail.com

### 首頁:https://github.com/rockwelln/buildbot-slack

### 文檔:None

### 下載連接 

[![PyPI version](https://badge.fury.io/py/buildbot-slack.svg)](https://badge.fury.io/py/buildbot-slack)

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.git

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

Contributions are welcome!web

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)api

Then in your master.cfg, add the following:app

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

Additional Options:

channel = None
  username = None
  attachments = True

Have fun!svg

Copy from pypi.org

查詢時間:6.333ms
渲染時間:6.452ms

本文同步分享在 博客「zhenruyan」(other)。
若有侵權,請聯繫 support@oschina.cn 刪除。
本文參與「OSC源創計劃」,歡迎正在閱讀的你也加入,一塊兒分享。ui

相關文章
相關標籤/搜索