0

What api failures are caught by retry:when api_failure in below pipeline?

test:
  script: some api call
  retry:
    max: 2
    when: api_failure    

Does gitlab detect any api call failure inside the -script by analyzing network traffic, for instance or api_failure catches GitLab api failures only?

Couldn't understand that from the docs

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.