Web Hooks(GitLab)无法正常工作

时间:2014-08-11 14:15:51

标签: gitlab webhooks

我根据以下说明将Web Hooks(GitLab)配置用于Web服务器: https://gitlab.com/kpobococ/gitlab-webhook/tree/master

我第一次成功配置了它。从第2起开始,网络挂钩无效。

我已将网址 http://domain.loc/gitlab-webhook-push.php 添加到Web Hook URL(GitLab),但它仅在我执行命令行中的gitlab-webhook-push.php 文件(" php gitlab-webhook-push.php "或& #34; sh gitlab-webhook-push.sh ")

我点击" 测试挂钩"并检查日志文件: .hooks / gitlab-webhook-push.log


案例不起作用

2014-08-11 10:33:03 (192.168.1.100): Launching shell hook script...
2014-08-11 10:33:03 (192.168.1.100): Shell hook script finished

案例工作:

2014-08-11 10:26:01 (192.168.1.100): Launching shell hook script...
2014-08-11 10:26:02 (192.168.1.100): SHELL: Already up-to-date.
2014-08-11 10:26:02 (192.168.1.100): Shell hook script finished

我已经尝试了很多次来重试,但它也无法正常工作

0 个答案:

没有答案