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