GitLab CI Kotlin DSL • opensavvy.gitlab.ci • Job • retry
retry
Configures how many times a job is retried if it fails. If not defined, defaults to 0 and jobs do not retry.
Example
val test by job {
retry(2) {
whenType(RetryWhen.RunnerSystemFailure)
onExitCode(137)
}
}
External resources