GitLab CI Kotlin DSL • opensavvy.gitlab.ci • Retry
Retry¶
Properties¶
max¶
The maximum number of times a job is retried if it fails. Supported values: 0, 1, or 2.
Functions¶
on¶
fun on(type: RetryCause)
Specifies which failure types to retry on.
onExitCode¶
fun onExitCode(code: Int)
Specifies which exit codes to retry on.
toYaml¶
Converts this object into a Yaml object.