我如何设置 git webhooks+jenkins
How can i set git webhooks+jenkins
我参考了很多例子,但是web hooks都没有配置成功,不知道为什么? web hooks中的url也尝试过各种情况,但一直都是500错误
Gitlab 版本:10.6.2-ee
詹金斯 version:2.83
Gitlab插件:1.5.4
Gitlab Hook 插件:1.4.2
Error 500
表示服务器行为异常。
您需要检查 GitLab 服务器日志以查看 GitLab 服务器提到的异常的确切性质。
这可能是身份验证(令牌)问题,如 gitlab-ce issue 34143 中所述。
OP blue mentions :
[...] because the GitLab and Jenkins services are not on a network segment.
There is also an open configuration "Allow requests to the local network from hooks and services"
在jenkinsci/gitlab-plugin issue 272
中提到过
You have to enable "Allow requests to the local network from hooks and services" in Setting page in Gitlab with new updates.
我参考了很多例子,但是web hooks都没有配置成功,不知道为什么? web hooks中的url也尝试过各种情况,但一直都是500错误
Gitlab 版本:10.6.2-ee
詹金斯 version:2.83
Gitlab插件:1.5.4
Gitlab Hook 插件:1.4.2
Error 500
表示服务器行为异常。
您需要检查 GitLab 服务器日志以查看 GitLab 服务器提到的异常的确切性质。
这可能是身份验证(令牌)问题,如 gitlab-ce issue 34143 中所述。
OP blue mentions
[...] because the GitLab and Jenkins services are not on a network segment.
There is also an open configuration "Allow requests to the local network from hooks and services"
在jenkinsci/gitlab-plugin issue 272
中提到过You have to enable "Allow requests to the local network from hooks and services" in Setting page in Gitlab with new updates.