如何在詹金斯每周启用日志轮换? [英] How to enable log rotation in Jenkins for weekly?
本文介绍了如何在詹金斯每周启用日志轮换?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试为jenkins启用日志旋转.因为日志文件占用了更多的内存空间.有任何插件或方法可以做到吗?
I am trying to enable the log rotation for jenkins. Because the log file occupied more memory space. Is there any plugins or method to do it?
推荐答案
作业配置->丢弃旧版本:
Job Configuration -->Discard Old Builds:
有默认的日志轮换策略:
There is default Log Rotation strategy:
我建议您单击高级"按钮以了解有关此日志轮换策略的更多信息.
I suggest you to click the "Advanced" button to know more about this log rotation strategy.
这篇关于如何在詹金斯每周启用日志轮换?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文