gitlab-runner默认的控制台日志输出的最大长度是4096,实际情况中难免会超出,如果有需要可以在config.toml中添加output_limit=[数字]配置字段来调整日志输出最大长度:

concurrent = 1
check_interval = 0

[session_server]
  session_timeout = 1800

[[runners]]
  name = "xxxx"
  url = "xxxx"
  token = "xxxx"
  executor = "shell"
  output_limit = 8192
  [runners.custom_build_dir]
  [runners.cache]
    [runners.cache.s3]
    [runners.cache.gcs]

然后重启gitlab-runner即可生效。

相关文章:

  • 2021-08-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
  • 2021-05-21
  • 2021-10-26
  • 2021-09-14
猜你喜欢
  • 2021-07-13
  • 2022-02-01
  • 2021-08-29
  • 2022-12-23
  • 2022-12-23
  • 2021-07-07
相关资源
相似解决方案