jetbrains.buildServer.configs.kotlin.v2018_1.buildFeatures / Swabra

Swabra

open class Swabra : BuildFeature

A build feature cleaning files and processes created during a build

See Also

swabra

Types

FilesCleanup

enum class FilesCleanup

Files cleanup mode

LockingProcessPolicy

enum class LockingProcessPolicy

Specifies how to handle processes locking some files

Constructors

<init>

Swabra(init: Swabra.() -> Unit)Swabra()

A build feature cleaning files and processes created during a build

Properties

filesCleanup

var filesCleanup: FilesCleanup?

A files cleanup mode to use

forceCleanCheckout

var forceCleanCheckout: Boolean?

Force clean checkout if cannot restore clean directory state

lockingProcesses

var lockingProcesses: LockingProcessPolicy?

Whether to inspect the checkout directory for processes locking files in this directory, and what to do with such processes

paths

var paths: String?

Paths to monitor

verbose

var verbose: Boolean?

Enables detailed logging to build log

Inherited Properties

enabled

var enabled: Boolean

Specifies whether the feature is enabled, true by default

id

var id: String?

Build feature id, if not specified will be generated

type

var type: String

Build feature type

Functions

validate

open fun validate(consumer: ErrorConsumer): Unit

Validates this object and reports found errors to the provided consumer

Inherited Functions

create

open fun create(): BuildFeature

Creates an instance of this build feature via reflection using a no argument constructor, used during copying. Throws an error if this class doesn't have a default constructor. Subclasses can override it to create an instance without using a default constructor.

toString

open fun toString(): String