【问题标题】:How to limit "Archive the Artifacts" max size in Jenkins?如何限制詹金斯的“存档工件”最大尺寸?
【发布时间】:2019-07-04 04:21:26
【问题描述】:

我们如何限制 Jenkins 用户在他们的工作中归档大量文件/大文件?这应该是 Jenkins 管理层的事情,但我们没有找到这样做的方法。有没有限制存档文件最大大小的选项?

【问题讨论】:

    标签: jenkins archive


    【解决方案1】:

    我不知道 Jenkins 有什么方法可以做到这一点,但还没有进行详尽的搜索。

    作为一种解决方法,您可以尝试为每个作业目录使用单独的分区/卷或配额。我没有进行广泛的测试,但 Jenkins 似乎在一项工作没有剩余空间后继续工作。

    This answer explains how to use groups and ACLs to make sure files in directory always get assigned that group.Then you can use group quotas to restrict the space usage for each.

    This answer is an example of how to use project quotas which could here be an alternative to group quotas.

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-03-18
      • 1970-01-01
      • 1970-01-01
      • 2018-08-02
      • 1970-01-01
      • 2019-12-19
      • 2019-11-17
      • 2018-06-19
      相关资源
      最近更新 更多