Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

What is the magic to get 'Step Retry' to work? #3986

jmuirhead ·

QB version 8.0.3 --

I have 'Step Retry' enabled on a composite sequential step with 2 'Retry Times' (I've also tried 1). The condition is 'if step is failed'. I've also tried a script condition set to 'return step.isFailed()' and also 'return step.isTimeout()'. Interval is '10 seconds'.

In no case does a retry of any kind occur. The step in question will either timeout or fail, the build completes as a 'normal' failure. Then nothing happens. No retries of the step or build. What am I missing?

Also, I assume 'Retry Times' means the number of reties, not the total number of times the step would be run if it failed. So, 1 retry would mean the step fails, then a single retry occurs.

Thanks.

~J

  • replies 2
  • views 663
  • stars 0
robinshen ADMIN ·
jmuirhead ·

Thanks Robin. I'll check with debug logging. I'm using the workaround I've used previously for a number of years (checking step.getPreviousExecutedSibling();) and that works fine. Also, thanks for clearing up my question on 'Retry Times'.

Cheers.

~J