如何将我的本地GitLab与Slack集成以获取通知?

时间:2017-05-21 06:10:15

标签: gitlab slack

如何将我的本地 GitLab 与Slack集成以获取通知?

我在哪里找到我的松弛Webhook

username是什么?

我的GitLab版本是: 8.16.4 。以及我需要的所有信息:

*any help is appropriated.*

1 个答案:

答案 0 :(得分:6)

GitLab Slack notification service有关于Slack本身的这一部分:

  
      
  • 登录您的Slack团队并start a new Incoming WebHooks configuration
  •   
  • 选择默认情况下将发送通知的Slack通道。单击“添加传入Web挂钩”集成按钮以添加配置。
  •   
  • 复制我们稍后将在GitLab配置中使用的Webhook URL
  •   

最后一点是您的webhook网址,然后您可以将其复制粘贴到您的GitLab Project > Settings > Integrations

OP Majid Parvin添加in the comments

  

我遇到了这个错误:

This app is not allowed to be installed on this team. 
Please ask a Team Admin to approve this app
     

因为我没有使用我的管理员帐户。