KeepRuleFilters

Holds all the filters used to pick out the builds this keep rule will preserve

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
class BranchFilter(branchFilters: Array<String>)
Link copied to clipboard

State of the build branch to match.

Link copied to clipboard
inner class InBranches
Link copied to clipboard

Personal state of the build to match

Link copied to clipboard
Link copied to clipboard
class WithTags(tags: Array<String>)

Properties

Link copied to clipboard

Applies this keep rule to builds with the provided value of the "Personal" state. The keep rule will apply to all matching builds if this filter is not specified or null is provided.

Link copied to clipboard

Applies this keep rule to builds with the specified status. The keep rule will apply to all matching builds if the filter is not specified or null is provided.

Link copied to clipboard

Applies this keep rule to builds with provided tags. The keep rule will apply to all matching builds if the filter is not specified or an empty set is provided. Use anyOf to specify the list of tags.

Functions

Link copied to clipboard
Link copied to clipboard
fun buildFilter(type: String, init: Parametrized.() -> Unit)

Builds a filter from parameters

Link copied to clipboard

Matches failed builds only

Link copied to clipboard

Applies this keep rule to builds in branches matched by branchFilter and branchState. The keep rule will apply to all matching builds if the filter is not specified or an empty set is provided.

Link copied to clipboard

Matches non-personal builds only

Link copied to clipboard
Link copied to clipboard

Matches successful builds only