Skip to content
This repository was archived by the owner on Jan 18, 2021. It is now read-only.
This repository was archived by the owner on Jan 18, 2021. It is now read-only.

Enable Job cleanup #30

@atrocities

Description

@atrocities

Larger installations of Stashbot frequently have builds that take up a ton of space. While cronifying a find that looks for old builds and deletes them works, this doesn't provide for the ability to mark builds as 'keep'.

Adding a logRotator tag to the templates with some sane defaults would be nice.

<logRotator class="hudson.tasks.LogRotator">
    <daysToKeep>30</daysToKeep>
    <numToKeep>50</numToKeep>
    <artifactDaysToKeep>-1</artifactDaysToKeep>
    <artifactNumToKeep>-1</artifactNumToKeep>
</logRotator>

Ideally it would be visible on the front end as well, but this will make sense for most builds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions