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

RetryBuildTrigger

open class RetryBuildTrigger : Trigger

Triggers the build if the previous build failed after a specified time delay

See Also

retryBuild

Constructors

<init>

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

Triggers the build if the previous build failed after a specified time delay

Properties

attempts

var attempts: Int?

Number of attempts to retry the build

branchFilter

var branchFilter: String?

Branch filter specifies the set of branches where Retry Build Trigger should attempt to retry builds

delaySeconds

var delaySeconds: Int?

Seconds to wait before adding build to queue

moveToTheQueueTop

var moveToTheQueueTop: Boolean?

Move triggered build to the queue top

retryWithTheSameRevisions

var retryWithTheSameRevisions: Boolean?

Whether to trigger a new build with the same revisions or not

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