open class BuildFailureOnText : FailureCondition
A build failure condition failing build on specific text in a build log.
See Also
enum class ConditionType
Defines how to treat the pattern specified in failure condition |
BuildFailureOnText(init: BuildFailureOnText.() -> Unit) BuildFailureOnText()
A build failure condition failing build on specific text in a build log. |
var conditionType: ConditionType?
A type defining how to treat the specified pattern |
|
var failureMessage: String?
The message to display in the UI and the build log when build fails |
|
var pattern: String?
The pattern to search for in the build log. Pattern interpretation depends on the selected conditionType. |
|
var reverse: Boolean?
Whether the matching should be reversed, ie. the build should fail if build log doesn't contain the specified pattern. |
|
var stopBuildOnFailure: Boolean?
Immediately stop the build if it fails due to this failure condition |
open fun validate(consumer: ErrorConsumer): Unit
Validates this object and reports found errors to the provided consumer |
open fun toString(): String |