Gitlab CI/CD job's log exceeded limit

末鹿安然 提交于 2020-01-03 14:00:05

问题


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.

How to change this limit?


回答1:


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

According to the documentation

output_limit : Set maximum build log size in kilobytes, by default set to 4096 (4MB)



来源:https://stackoverflow.com/questions/53541000/gitlab-ci-cd-jobs-log-exceeded-limit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!