松弛& Gitlab webhook集成不起作用

时间:2016-12-29 15:11:10

标签: gitlab webhooks slack

我正在尝试将Slack与Gitlab集成。 我根据要求正确配置了一切 https://docs.gitlab.com/ee/project_services/slack.html

在Gitlab中,按“测试设置”确实触发了webhook,我在Slack频道中看到了该消息。

另外,跑步 $ curl -X POST --data-urlencode 'payload={"channel": "#commits", "username": "webhookbot", "text": "blahblah", "icon_emoji": ":ghost:"}' https://hooks.slack.com/services/mywebhookhere 完美地运作

但是当我真正将某些东西推入存储库时......没有任何反应。 (虽然我可以在Gitlab UI中看到提交。)

任何协助都将不胜感激!

1 个答案:

答案 0 :(得分:0)

您是否确保在Gitlab中启用推送触发器?查看this link了解更多详情。 Gitlab settings