0

我有一个批处理文件,其中包括构建一个简单的应用程序并启动一个进程。现在我在powershell中测试了这个批处理文件并没有问题地提升了CMD。

现在,当我通过 gitlab-runner 作为服务运行它时,我的进程似乎超时了。所有其他操作,例如构建项目都很好。但是当我使用 gitlab-runner 运行时gitlab-runner --debug run,批处理文件完成没有任何问题。下面是我的 config.toml 文件:

concurrent = 1
check_interval = 0

[session_server]
  session_timeout = 1800

[[runners]]
  name = "my-desktop"
  url = "https://gitlab.com/"
  token = "Vsa9yd3sNyfsUY91aZRV"
  executor = "shell"
  shell = "powershell"
  [runners.custom_build_dir]
  [runners.cache]
    [runners.cache.s3]
    [runners.cache.gcs]
    [runners.cache.azure]

有人可以告诉我有什么问题吗?我对 gitlab-runner 了解不多,但从我所做的测试来看,我的批处理文件似乎是正确的。

谢谢

4

0 回答 0