keptn-contrib / jenkins-service

ARCHIVED. This service has been deprecated and is no longer actively maintained.
Apache License 2.0
2 stars 5 forks source link

--retry-connrefused not quite commonly available for curl versions in the wild #6

Closed akirasoft1 closed 5 years ago

akirasoft1 commented 5 years ago

It was released as part of 7.52, the dependency wouldn't be satisfied in Ubuntu releases until Bionic (18.04)

jetzlstorfer commented 5 years ago

thanks for mentioning this. @johannes-b do we need this additional option?

johannes-b commented 5 years ago

Mike, thanks for identifying this issue. Yes, we do have another (more generic) option. I will address it while working on: https://github.com/keptn/keptn/issues/259

johannes-b commented 5 years ago

The way to deal with --retry-connrefused issue is that a while loop captures failed curls for a couple of times. Please see following snippet: https://github.com/keptn/jenkins-service/blob/develop/deploy.sh#L47