Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

(PA-6543) Add more curl options when downloading WIX zip #2558

Conversation

shubhamshinde360
Copy link
Contributor

  • The '--fail' options will return error code 1 if artifactory resource is not found. If not given, then for unsuccessful response from artifactory, the response is saved in the output file as html. Here, curl returns exit code 0 which is not interpreted as an error, so the build proceeds. The build then tries to unzip this html which throws an error that is rather difficult to debug.
  • The '--retry' flag will guard against transient failures if any.

 - The '--fail' options will return error code 1 if artifactory resource is not found. If not given, then for unsuccessful response from artifactory, the response is saved in the output file as html. Here, curl returns exit code 0 which is not interpreted as an error, so the build proceeds. The build then tries to unzip this html which throws an error that is rather difficult to debug.
 - The '--retry' flag will guard against transient failures if any.
@joshcooper joshcooper merged commit 3fceaf2 into puppetlabs-toy-chest:main Sep 13, 2024
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants