Class LegacyKeepNBuildsLimit

  • All Implemented Interfaces:
    DbFieldsProvider, KeepLimit, KeepFeatureParamsProvider

    public class LegacyKeepNBuildsLimit
    extends Object
    implements KeepLimit
    Keep the fixed number of the last successful builds ordered by build id. All not successful builds lying between the successful ones are not included in the count and are also preserved. If there are lesser successful builds than specified number, all not successful builds before the oldest successful will not be kept. Analogue for old cleanup policy KeepNBuildsPolicy. Should be used with two partitions: by branches and by personality.
    Since:
    2019.1