open class FailureCondition : BuildFeature
TeamCity failure condition
FailureCondition(init: FailureCondition.() -> Unit)
Creates a failure condition and initializes it with the specified init block FailureCondition()
TeamCity failure condition |
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 |
open fun toString(): String |
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 validate(consumer: ErrorConsumer): Unit
Validates this object and reports found errors to the provided consumer |
open class BuildFailureOnMetric : FailureCondition
A build failure condition failing build on metric change. |
|
open class BuildFailureOnText : FailureCondition
A build failure condition failing build on specific text in a build log. |