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

AutoMerge

open class AutoMerge : BuildFeature

Build feature enabling automatic merge in build configuration or template.

See Also

merge

Types

MergeCondition

enum class MergeCondition

A condition which should be satisfied for merge to happen

MergePolicy

enum class MergePolicy

Settings for merge commit

RunPolicy

enum class RunPolicy

Policy for running merge feature

Constructors

<init>

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

Properties

branchFilter

var branchFilter: String?

A filter for logical names of the branches whose build's sources will be merged.

commitMessage

var commitMessage: String?

A merge commit message

destinationBranch

var destinationBranch: String?

A logical name of the destination branch the sources will be merged to. The branch must be present in a repository and included into the branch specification.

mergeCondition

var mergeCondition: String?

A condition which should be satisfied for merge to happen

mergePolicy

var mergePolicy: MergePolicy?

Specifies settings for merge commit

runPolicy

var runPolicy: RunPolicy?

Run policy of auto merge

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