open class Trigger : Parametrized
TeamCity build trigger
Trigger(base: Trigger? = null, init: Trigger.() -> Unit = {}) |
var enabled: Boolean
Specifies whether the trigger is enabled |
|
var id: String?
Trigger id, if not set will be generated |
|
var type: String
Trigger type |
open val params: List<Parameter> |
fun booleanParameter(customName: String? = null, trueValue: String? = "true", falseValue: String? = "false"): BooleanDelegate |
|
fun <T : CompoundParam> compoundParameter(customName: String? = null): CompoundParamDelegate<T> |
|
fun <E : Enum<E>> enumParameter(customName: String? = null, mapping: Map<E, String?>? = null): EnumDelegate<E> |
|
fun intParameter(customName: String? = null): IntDelegate |
|
fun param(name: String, value: String): Unit
Adds parameter |
|
fun stringParameter(customName: String? = null): StringDelegate |
open class FinishBuildTrigger : Trigger
Base class for Finish Build Triggers. Finish build trigger runs build when some other build finishes. |
|
open class MavenArtifactDependencyTrigger : Trigger
A trigger running builds when there is a modification of the maven dependency content. |
|
open class MavenSnapshotDependencyTrigger : Trigger
A trigger running builds when there is a modification of the snapshot dependency content in the remote repository. |
|
open class RetryBuildTrigger : Trigger
Triggers the build if the previous build failed after a specified time delay |
|
open class ScheduleTrigger : Trigger
Base class for Schedule Build Triggers. Schedule trigger runs builds by specified schedule. |
|
open class VcsTrigger : Trigger
Base class for VCS triggers. VCS trigger automatically starts a new build each time TeamCity detects new changes. |