BaseRuleWrapper

inner class BaseRuleWrapper

Holds a base rule

Constructors

Link copied to clipboard
constructor()

Properties

Functions

Link copied to clipboard
fun all(days: Int? = null, builds: Int? = null)

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

Link copied to clipboard
fun artifacts(days: Int? = null, builds: Int? = null, artifactPatterns: String? = null)

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

Link copied to clipboard
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.

Link copied to clipboard
fun option(name: String, value: Boolean)

Adds a specified clean-up option