Gitlab CI/CD作业的日志超出限制 [英] Gitlab CI/CD job's log exceeded limit
本文介绍了Gitlab CI/CD作业的日志超出限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我在Gitlab CI/CD上运行作业时,一段时间后,我收到以下错误消息:
When I run my job on Gitlab CI/CD, after a while I obtain the following error message:
Job's log exceeded limit of 4194304 bytes.
如何更改此限制?
推荐答案
要更改Gitlab CI/CD中作业的构建日志大小,您可以编辑config.toml
文件并以千字节为单位添加新的限制:>
To change the build log size of your jobs in Gitlab CI/CD, you can edit your config.toml
file and add a new limit in kilobytes:
[[runners]]
output_limit = 10000
根据文档 >
output_limit:设置最大构建日志大小(以千字节为单位),默认情况下设置为4096(4MB)
output_limit : Set maximum build log size in kilobytes, by default set to 4096 (4MB)
这篇关于Gitlab CI/CD作业的日志超出限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文