当创建或者删除,用户或者项目时,可能想收到一个通知。Gitlab支持这种类型的system hooks.

下面事件可以触发一个system webhook调用。

  • Project created
  • Project destroyed
  • New team member
  • The team member is removed
  • A user is created
  • The user is removed


执行步骤:

1. 使用管理员登陆gitlab服务器。


2. 点击【Admin area】。

Gitlab-system-hooks


3. 作为测试 ,此处我们使用RequstBin进行服务调用。 点击【Create a RequestBin】

Gitlab-system-hooks


4. 把创建的RequestBin URL复制到system hook URL中。进行测试 。

Gitlab-system-hooks


5. 点击【Test】,在RequestBin服务器中查看,如下图所示:

Gitlab-system-hooks

相关文章:

  • 2021-08-17
  • 2021-11-29
  • 2021-08-12
  • 2021-11-16
  • 2022-02-02
猜你喜欢
  • 2021-11-18
  • 2021-12-06
  • 2022-01-06
  • 2021-10-06
  • 2021-06-06
相关资源
相似解决方案