jetbrains.buildServer.configs.kotlin.v2018_2.buildFeatures / VcsLabeling

VcsLabeling

open class VcsLabeling : BuildFeature

Build feature enabling automatic VCS labeling in a build.

See Also

vcsLabeling

Constructors

<init>

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

Build feature enabling automatic VCS labeling in a build.

Properties

branchFilter

var branchFilter: String?

Branch filter specifies in which branches sources should be labeled

labelingPattern

var labelingPattern: String?

A pattern for labels to use. If not specified, then the default pattern is used: build-%system.build.number%.

successfulOnly

var successfulOnly: Boolean?

Whether only successful builds sources should be labeled

vcsRootExtId

var vcsRootExtId: String?

Id of the VCS root which sources should be labeled. Use the constant "ALL" to label all VCS roots.

vcsRootId

var vcsRootId: String?

Id of the VCS root which sources should be labeled. Use the constant "ALL" to label all VCS roots.

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