0

Is is possible to get the value of how many times the wget command retries? and how? I want to include the number of retries in the email, to be send after the build in Jenkins.

0

According to Man Pages

‘--tries=number’

Set number of tries to number. Specify 0 or ‘inf’ for infinite retrying. The default is to retry 20 times, with the exception of fatal errors like “connection refused” or “not found” (404), which are not retried.

  • thanks, but I have set the number of tries to 0 means infinite, now I want to know in what number of retry the wget command build successfully or stopped. – xerxesjunemark Mar 1 '17 at 1:18

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.