jetbrains.buildServer.configs.kotlin.v10.triggers / VcsTrigger

VcsTrigger

open class VcsTrigger : Trigger

Base class for VCS triggers. VCS trigger automatically starts a new build each time TeamCity detects new changes.

See Also

vcs

Types

QuietPeriodMode

enum class QuietPeriodMode

Quiet Period Settings

Constructors

<init>

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

Properties

branchFilter

var branchFilter: String?

Branch filter specifies changes in which branches the trigger should watch

enableQueueOptimization

var enableQueueOptimization: Boolean?

Whether the trigger should allow builds optimization in the build queue. By default optimization is enabled. It is ignored when per-check-in triggering is enabled.

groupCheckinsByCommitter

var groupCheckinsByCommitter: Boolean?

Whether the trigger should include check-ins from the same user into a build. Works only when per-check-in triggering is enabled.

perCheckinTriggering

var perCheckinTriggering: Boolean?

Whether the trigger should run build on each check-in in VCS.

quietPeriod

var quietPeriod: Int?

Custom quiet period for the trigger, to enable it set the quietPeriodMode to QuietPeriodMode.USE_CUSTOM

quietPeriodMode

var quietPeriodMode: QuietPeriodMode?

Quiet Period Settings

triggerRules

var triggerRules: String?

Trigger rules allow to limit the changes that trigger builds

watchChangesInDependencies

var watchChangesInDependencies: Boolean?

When enabled, the trigger runs builds on changes in snapshot dependencies

Inherited Properties

enabled

var enabled: Boolean

Specifies whether the trigger is enabled

id

var id: String?

Trigger id, if not set will be generated

type

var type: String

Trigger type