jetbrains.buildServer.configs.kotlin.v10 / Triggers

Triggers

class Triggers

Collection of build triggers in build configuration or template

Constructors

<init>

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

Functions

plus

operator fun plus(other: Triggers): Triggers
operator fun plus(trigger: Trigger): Triggers

trigger

fun trigger(base: Trigger? = null, init: Trigger.() -> Unit = {}): Unit

Adds a new trigger

Extension Functions

finishBuildTrigger

fun Triggers.finishBuildTrigger(base: FinishBuildTrigger? = null, init: FinishBuildTrigger.() -> Unit = {}): Unit

Adds Finish Build Trigger to build configuration or template

mavenArtifact

fun Triggers.mavenArtifact(base: MavenArtifactDependencyTrigger? = null, init: MavenArtifactDependencyTrigger.() -> Unit = {}): Unit

Adds a trigger. running builds when there is a modification of the maven dependency content.

mavenSnapshot

fun Triggers.mavenSnapshot(base: MavenSnapshotDependencyTrigger? = null, init: MavenSnapshotDependencyTrigger.() -> Unit = {}): Unit

Adds a trigger running builds when there is a modification of the snapshot dependency content in the remote repository.

retryBuild

fun Triggers.retryBuild(base: RetryBuildTrigger? = null, init: RetryBuildTrigger.() -> Unit = {}): Unit

Adds Retry Build Trigger

schedule

fun Triggers.schedule(base: ScheduleTrigger? = null, init: ScheduleTrigger.() -> Unit = {}): Unit

Adds Schedule Build Trigger to build configuration or template

vcs

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

Adds VCS trigger to the build configuration or template