class Triggers : Validatable
Collection of build triggers in build configuration or template
Triggers()
Collection of build triggers in build configuration or template |
fun trigger(trigger: Trigger): Unit
Adds the specified trigger fun trigger(init: Trigger.() -> Unit): Trigger
Adds a trigger initialized with the specified init block |
|
fun validate(consumer: ErrorConsumer): Unit
Validates this object and reports found errors to the provided consumer |
fun Triggers.copy(): Triggers
Copies the receiver triggers |
|
fun Triggers.copyTo(target: Triggers): Triggers
Copies the receiver triggers to the specified target |
|
fun Triggers.finishBuildTrigger(init: FinishBuildTrigger.() -> Unit): FinishBuildTrigger
Adds Finish Build Trigger to build configuration or template |
|
fun Triggers.mavenArtifact(init: MavenArtifactDependencyTrigger.() -> Unit): MavenArtifactDependencyTrigger
Adds a trigger. running builds when there is a modification of the maven dependency content. |
|
fun Triggers.mavenSnapshot(init: MavenSnapshotDependencyTrigger.() -> Unit): MavenSnapshotDependencyTrigger
Adds a trigger running builds when there is a modification of the snapshot dependency content in the remote repository. |
|
fun Triggers.retryBuild(init: RetryBuildTrigger.() -> Unit): RetryBuildTrigger
Adds Retry Build Trigger |
|
fun Triggers.schedule(init: ScheduleTrigger.() -> Unit): ScheduleTrigger
Adds Schedule Build Trigger to build configuration or template |
|
fun Triggers.vcs(init: VcsTrigger.() -> Unit): VcsTrigger
Adds VCS trigger to the build configuration or template |