jetbrains.buildServer.configs.kotlin.v10.buildFeatures / FreeDiskSpace

FreeDiskSpace

open class FreeDiskSpace : BuildFeature

Build feature ensuring certain free disk space on the agent before the build by deleting files managed by the TeamCity agent.

See Also

freeDiskSpace

Constructors

<init>

FreeDiskSpace(init: FreeDiskSpace.() -> Unit = {}, base: FreeDiskSpace? = null)

Properties

failBuild

var failBuild: Boolean?

Whether TeamCity should fail a build if sufficient disk space cannot be freed.

requiredSpace

var requiredSpace: String?

Amount of the free disk space to ensure. Without a suffix treated as bytes. Supported suffixes are: kb, mb, gb, tb.

Inherited Properties

enabled

var enabled: Boolean

Specifies whether the feature is enabled

id

var id: String?

Build feature id, if not specified will be generated

type

var type: String

Build feature type