class Triggers
Collection of build triggers in build configuration or template
Triggers(base: Triggers? = null, init: Triggers.() -> Unit = {}) |
operator fun plus(other: Triggers): Triggers operator fun plus(trigger: Trigger): Triggers |
|
fun trigger(base: Trigger? = null, init: Trigger.() -> Unit = {}): Unit
Adds a new trigger |
fun Triggers.finishBuildTrigger(base: FinishBuildTrigger? = null, init: FinishBuildTrigger.() -> Unit = {}): Unit
Adds Finish Build Trigger to build configuration or template |
|
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. |
|
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. |
|
fun Triggers.retryBuild(base: RetryBuildTrigger? = null, init: RetryBuildTrigger.() -> Unit = {}): Unit
Adds Retry Build Trigger |
|
fun Triggers.schedule(base: ScheduleTrigger? = null, init: ScheduleTrigger.() -> Unit = {}): Unit
Adds Schedule Build Trigger to build configuration or template |
|
fun Triggers.vcs(base: VcsTrigger? = null, init: VcsTrigger.() -> Unit = {}): Unit
Adds VCS trigger to the build configuration or template |