puppetlabs / provision

Simple tasks to provision and tear_down containers / instances and virtual machines.
Apache License 2.0
20 stars 53 forks source link

(CONT-1241) - Retrying when response body is nil or empty but response code is 200 #221

Closed Ramesh7 closed 1 year ago

Ramesh7 commented 1 year ago

Summary

We have seen multiple failures where the response is not expected but the response code is 200, so while parsing it fails which lead to pipeline failure. So added retry when response is empty or while parsing it fails. Eg : https://github.com/puppetlabs/puppetlabs-lvm/actions/runs/5639289396/job/15274332392

Additional Context

Related Issues (if any)

Checklist