jetbrains.buildServer.configs.kotlin.v10.buildFeatures / Notifications

Notifications

open class Notifications : BuildFeature

Build feature for notification rule

See Also

notifications

Types

NotifierSettings

sealed class NotifierSettings : CompoundParam

Constructors

<init>

Notifications(init: Notifications.() -> Unit = {}, base: Notifications? = null)

Properties

branchFilter

var branchFilter: String?

Branch filter

buildFailed

var buildFailed: Boolean?

Send notification if build failed

buildFailedToStart

var buildFailedToStart: Boolean?

Send notification if build fails to start

buildFinishedSuccessfully

var buildFinishedSuccessfully: Boolean?

Send notification if build finished successfully

buildProbablyHanging

var buildProbablyHanging: Boolean?

Build is probably hanging

buildStarted

var buildStarted: Boolean?

Send notification when build started

firstBuildErrorOccurs

var firstBuildErrorOccurs: Boolean?

Notify when the first build error occurs

firstFailureAfterSuccess

var firstFailureAfterSuccess: Boolean?

Send notification if build failed for the first time after success

firstSuccessAfterFailure

var firstSuccessAfterFailure: Boolean?

Send notification if build is successfull for the first time after failure

newBuildProblemOccured

var newBuildProblemOccured: Boolean?

Only notify on new build problem or new failed test

newBuildProblemOccurred

var newBuildProblemOccurred: Boolean?

Only notify on new build problem or new failed test

notifier

var notifier: String?

Notifier that will send notifications

notifierSettings

var notifierSettings: NotifierSettings?

Notifier that will send notifications

notifyUntilBuildIsComplete

var notifyUntilBuildIsComplete: Boolean?

Keep notifying until build is complete (even without my changes)

Inherited Properties

enabled

var enabled: Boolean

Specifies whether the feature is enabled

id

var id: String?

Build feature id, if not specified will be generated

type

var type: String

Build feature type

Functions

emailNotifier

fun emailNotifier(init: EmailNotifier.() -> Unit = {}): EmailNotifier

Send notifications via email

slackNotifier

fun slackNotifier(init: SlackNotifier.() -> Unit = {}): SlackNotifier

Send notifications to Slack