1
我试图触发詹金斯建立时,只要有一个推到GitLab。
我指的是https://github.com/jenkinsci/gitlab-plugin。Webhook执行失败:执行过期
当我测试webhook的连接时,它显示execution expired
。
我使用:
- 詹金斯版本。 2.60.1
- GitLab版本9.4.0-RC2-EE
- Git的实验室插件1.4.6
我试图触发詹金斯建立时,只要有一个推到GitLab。
我指的是https://github.com/jenkinsci/gitlab-plugin。Webhook执行失败:执行过期
当我测试webhook的连接时,它显示execution expired
。
我使用:
确切error message,点击 “Test setting
” 从GitLab:如前所述
We tried to send a request to the provided URL but an error occurred: execution expired
这看起来和听起来像一个配置或网络呃ROR。
也许你的机器没有公开在webhook地址(防火墙等)。
例如,数字海洋的服务器上,则需要在防火墙中打开的端口(git-auto-deploy.conf.json
提到):
sudo ufw allow 8866/tcp
仔细检查,虽然你把什么Manage Jenkins > Configure
在长期Gitlab信息(连接名称,主机url,凭据),如jenkinsci/gitlab-plugin issue 391中所述。
请参阅GitLab Integration Jenkins: Configure the Jenkins server
您是否像在GitLab中那样完成了Jenkins中所有必需的配置表单? – Bram