lifecyclePolicies property

List<LifecyclePolicy>? lifecyclePolicies
getter/setter pair

Lifecycle management schema when any task in a task group is failed.

Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.

Implementation

core.List<LifecyclePolicy>? lifecyclePolicies;