Module Values.FailureConditionsSource

The configuration that specifies the result, such as rollback, to occur upon stage failure. For more information about conditions, see Stage conditions and How do stage conditions work?.

Sourcetype nonrec t = {
  1. result : Result_.t option;
    (*

    The specified result for when the failure conditions are met, such as rolling back the stage.

    *)
  2. retryConfiguration : RetryConfiguration.t option;
    (*

    The retry configuration specifies automatic retry for a failed stage, along with the configured retry mode.

    *)
  3. conditions : ConditionList.t option;
    (*

    The conditions that are configured as failure conditions. For more information about conditions, see Stage conditions and How do stage conditions work?.

    *)
}
Sourceval make : ?result:??? -> ?retryConfiguration:??? -> ?conditions:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Integer of RuleTimeout.t | `List of [> `String of Command.t | `Structure of (string * [> `String of ArtifactName.t ]) list ] list | `Map of ([> `String of RuleConfigurationKey.t ] * [> `String of RuleConfigurationValue.t ]) list | `String of RuleName.t | `Structure of (string * [> `Enum of string | `String of RuleProvider.t ]) list ]) list ] list ]) list ] list | `Structure of (string * [> `Enum of string ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t