history

fun history(days: Int? = null, builds: Int? = null)

Adds a history-level clean-up rule. Either days or builds must be non-null. If they are both null, clean-up will not be configured.

Parameters

days

number of days to store artifacts

builds

number of successful builds to store artifacts for