关于gitlab上的webhook设置,由于gitlab版本的不同,这里分为2种

新版gitlab:

管理员身份登录---------adminarea----------settings--

gitlab配置webhook

intergrations----------network-----------Outbound requests---------expend

gitlab配置webhook

勾选----Allow requests to the local network from web hooks and services

并编辑触发webhook的本地服务器地址

以上设置解决webhook内部请求失败的问题

然后进入需要设定webhook的项目

左侧settings------webhooks

gitlab配置webhook

右侧url中输入webhook地址

secret token

选择触发事件

save change 保存

gitlab配置webhook

设置成功后使用test选择触发事件进行测试

老版本gitlab:

进入需要设置的项目-------设置-------集成

gitlab配置webhook

输入url和secret token

后面步骤一样

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-05
  • 2021-03-31
  • 2021-09-06
  • 2021-12-20
  • 2022-03-05
猜你喜欢
  • 2021-11-01
  • 2022-12-23
  • 2021-12-15
  • 2021-09-16
  • 2021-10-28
  • 2022-01-16
  • 2021-06-15
相关资源
相似解决方案