open class Notifications : BuildFeature
Build feature for notification rule
See Also
sealed class NotifierSettings : CompoundParam<NotifierSettings> |
Notifications(init: Notifications.() -> Unit) Notifications()
Build feature for notification rule |
var branchFilter: String?
Branch filter |
|
var buildFailed: Boolean?
Send notification if build failed |
|
var buildFailedToStart: Boolean?
Send notification if build fails to start |
|
var buildFinishedSuccessfully: Boolean?
Send notification if build finished successfully |
|
var buildProbablyHanging: Boolean?
Build is probably hanging |
|
var buildStarted: Boolean?
Send notification when build started |
|
var firstBuildErrorOccurs: Boolean?
Notify when the first build error occurs |
|
var firstFailureAfterSuccess: Boolean?
Send notification if build failed for the first time after success |
|
var firstSuccessAfterFailure: Boolean?
Send notification if build is successfull for the first time after failure |
|
var
Only notify on new build problem or new failed test |
|
var newBuildProblemOccurred: Boolean?
Only notify on new build problem or new failed test |
|
var
Notifier that will send notifications |
|
var notifierSettings: NotifierSettings?
Notifier that will send notifications |
|
var notifyUntilBuildIsComplete: Boolean?
Keep notifying until build is complete (even without my changes) |
var enabled: Boolean
Specifies whether the feature is enabled, true by default |
|
var id: String?
Build feature id, if not specified will be generated |
|
var type: String
Build feature type |
fun emailNotifier(init: EmailNotifier.() -> Unit = {}): EmailNotifier
Send notifications via email |
|
fun slackNotifier(init: SlackNotifier.() -> Unit = {}): SlackNotifier
Send notifications to Slack |
|
open fun validate(consumer: ErrorConsumer): Unit
Validates this object and reports found errors to the provided consumer |
open fun create(): BuildFeature
Creates an instance of this build feature 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 |