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 ### 下载连接 [](https://badge.fury.io/py/buildbot-slack)
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