我正在将 Jenkins 与 kubernetes 一起使用,但我的 kubernetes pod 无法启动。我可以在日志中看到这一点:
08:35:39 Failed in the last attempt (curl -sSfL --connect-timeout 20 --retry 3 --retry-delay 0 --retry-max-time 60 https://updates.jenkins.io/dynamic-2.248//latest/durable-task-plugin.hpi -o /usr/share/jenkins/ref/plugins/durable-task-plugin.jpi)
Failed to download plugin: durable-task or durable-task-plugin
curl: (22) The requested URL returned error: 404 Not Found
08:35:46 Failure (22) Retrying in 1 seconds...
08:35:47 Failed in the last attempt (curl -sSfL --connect-timeout 20 --retry 3 --retry-delay 0 --retry-max-time 60 https://updates.jenkins.io/dynamic-2.248//latest/bootstrap4-api-plugin.hpi -o /usr/share/jenkins/ref/plugins/bootstrap4-api-plugin.jpi)
Failed to download plugin: bootstrap4-api or bootstrap4-api-plugin
> authentication-tokens depends on credentials:1.22
curl: (28) Resolving timed out after 20526 milliseconds
08:35:57 Failure (28) Retrying in 1 seconds...
似乎很多插件都无法获取。有人可以建议如何解决这个问题吗?