open class VcsTrigger : Trigger
Base class for VCS triggers. VCS trigger automatically starts a new build each time TeamCity detects new changes.
See Also
enum class QuietPeriodMode
|
VcsTrigger(init: VcsTrigger.() -> Unit) VcsTrigger()
Base class for VCS triggers. VCS trigger automatically starts a new build each time TeamCity detects new changes. |
var branchFilter: String?
Branch filter specifies changes in which branches the trigger should watch |
|
var enableQueueOptimization: Boolean?
Whether the trigger should allow builds optimization in the build queue. By default optimization is enabled. It is ignored when per-check-in triggering is enabled. |
|
var groupCheckinsByCommitter: Boolean?
Whether the trigger should include check-ins from the same user into a build. Works only when per-check-in triggering is enabled. |
|
var perCheckinTriggering: Boolean?
Whether the trigger should run build on each check-in in VCS. |
|
var quietPeriod: Int?
Custom quiet period for the trigger, to enable it set the quietPeriodMode to QuietPeriodMode.USE_CUSTOM |
|
var quietPeriodMode: QuietPeriodMode?
|
|
var triggerRules: String?
Trigger rules allow to limit the changes that trigger builds |
|
var watchChangesInDependencies: Boolean?
When enabled, the trigger runs builds on changes in snapshot dependencies |
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 fun validate(consumer: ErrorConsumer): Unit
Validates this object and reports found errors to the provided consumer |
open fun create(): Trigger
Creates an instance of this trigger via reflection using a no argument constructor, used during copying. Throws an error if this class doesn't have a default constructor. Subclasses can override it to create an instance without using a default constructor. |
|
open fun toString(): String |