jetbrains.buildServer.configs.kotlin.v2018_1.triggers / FinishBuildTrigger

FinishBuildTrigger

open class FinishBuildTrigger : Trigger

Base class for Finish Build Triggers. Finish build trigger runs build when some other build finishes.

See Also

finishBuildTrigger

Constructors

<init>

FinishBuildTrigger(init: FinishBuildTrigger.() -> Unit)FinishBuildTrigger()

Base class for Finish Build Triggers. Finish build trigger runs build when some other build finishes.

Properties

branchFilter

var branchFilter: String?

Branch filter allows to limit the branches where finished builds are watched.

buildType

var buildType: String?

Id of the build configuration to watch. A new build will be triggered when a build in the watched build configuration is finished.

buildTypeExtId

var buildTypeExtId: String?

Use buildType instead

successfulOnly

var successfulOnly: Boolean?

Whether the build should be triggered only after a successful build in the watched build configuration

Inherited Properties

enabled

var enabled: Boolean

Specifies whether the trigger is enabled

id

var id: String?

Trigger id, if not set will be generated

type

var type: String

Trigger type

Functions

validate

open fun validate(consumer: ErrorConsumer): Unit

Validates this object and reports found errors to the provided consumer

Inherited Functions

create

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.

toString

open fun toString(): String