jetbrains.buildServer.configs.kotlin.v2018_1 / Triggers / trigger

trigger

fun trigger(trigger: Trigger): Unit

Adds the specified trigger

Parameters

trigger - trigger to add

fun trigger(init: Trigger.() -> Unit): Trigger

Adds a trigger initialized with the specified init block

Parameters

init - block to initialize the trigger

Return
added trigger