You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

GitLab Runner调度失败求助:无法为Windows自托管Runner分配任务

求助:Windows环境部署GitLab Runner任务启动即报错

Gitlab runner

自行托管GitLab CE v18.1.1,已创建项目级Runner,Runner处于在线状态且能捕获任务,但任务启动后立即进入错误状态。项目未设置保护,无论是否添加标签都会触发错误,Runner调试输出返回状态码20。附上相关配置文件,求解决。

.gitlab-ci.yml

job:
  tags:
    - windows
  script:
    - echo "test"

config.toml

concurrent = 1
check_interval = 0
connection_max_age = "15m0s"
shutdown_timeout = 0

[session_server]
  session_timeout = 1800

[[runners]]
  name = "redacted"
  url = "redacted"
  id = 15
  token = "redacted"
  token_obtained_at = 2025-07-07T19:51:53Z
  token_expires_at = 0001-01-01T00:00:00Z
  executor = "shell"
  shell = "pwsh"
  [runners.cache]
    MaxUploadedArchiveSize = 0
    [runners.cache.s3]
    [runners.cache.gcs]
    [runners.cache.azure]

内容的提问来源于stack exchange,提问作者user1609530

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.12 17:06:11