Slack和Gitlab webhook集成不起作用

sha*_*s10 7 webhooks gitlab 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中看到提交..)

任何协助将不胜感激!

小智 0

您确定在 Gitlab 中启用了Push触发器吗?查看此链接了解更多详细信息。 亚搏体育appGitlab设置