【文件属性】:
文件名称:buildbot-slack:用于从 buildbot http 向 slack.com 推送通知的脚本
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-30 10:02:57
Python
buildbot-slack
用于从 buildbot 向 slack.com 推送通知的简单脚本取决于 requests-2.2.1
用法
在 buildbot.cfg 文件中,
import slack
master_config['status'].append(
slack.StatusPush(
"https://hooks.slack.com/services/SLACKABC/SLACKXYZ/your-secret-token",
"#channel",
localhost_replace="buildbot.retain.cc")
)
【文件预览】:
buildbot-slack-master
----LICENSE(1KB)
----README.md(406B)
----slack.py(2KB)
----.gitignore(315B)