gpt4 book ai didi

jenkins - Webhook 执行失败 : execution expired

转载 作者:行者123 更新时间:2023-12-02 01:54:39 35 4
gpt4 key购买 nike

每当有推送到 GitLab 时,我都会尝试触发 jenkins 构建。
我指的是https://github.com/jenkinsci/gitlab-plugin .

当我测试 Webhook 的连接时,它显示执行已过期

我正在使用:

  • Jenkins 版本。 2.60.1
  • GitLab 版本 9.4.0-rc2-ee
  • Git 实验室插件 1.4.6

最佳答案

确切的error message ,从 GitLab 单击“测试设置”:

We tried to send a request to the provided URL but an error occurred: execution expired

issue 128 中所述:

This looks and sounds like a configuration or network error.
Maybe your machine is not publicly available on the webhook address (firewall etc).

例如,在 Digital Ocean 服务器上,您需要在防火墙中打开端口(在 git-auto-deploy.conf.json 中提到):

sudo ufw allow 8866/tcp

根据 Gitlab 信息(连接名称、主机 URL、凭据)仔细检查您在管理 Jenkins > 配置中输入的内容,如 jenkinsci/gitlab-plugin issue 391 中所述。 .
请参阅GitLab Integration Jenkins: Configure the Jenkins server

关于jenkins - Webhook 执行失败 : execution expired,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45095396/

35 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com