Gitlab-Runner輸出最大限制


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即可生效。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM