Slack & Gitlab web host integration not working

I am trying to integrate Slack with Gitlab. I set everything up correctly according to https://docs.gitlab.com/ee/project_services/slack.html

In Gitlab, clicking "Test Settings" really launches a webhook, and I see a message in my Slack channel.

Also running $ curl -X POST --data-urlencode 'payload={"channel": "#commits", "username": "webhookbot", "text": "blahblah", "icon_emoji": ":ghost:"}' https://hooks.slack.com/services/mywebhookhere works great

But when I actually push something into the repository, nothing happens. (Although I see commits in the Gitlab UI ..)

Any help would be appreciated!

+6
source share

Source: https://habr.com/ru/post/1013606/


All Articles