-
New Feature
-
Resolution: Unresolved
-
Minor
The
waitUntil{}
block increases its wait time every time the condition fails. However, the user may have knowledge about the approximate time for the condition to pass. Jobs could proceed much faster if the user could limit the maximum interval before checking the condition again. Something like:
waitUntil{<cond>, <maxTime(min)>}
- is duplicated by
-
JENKINS-34554 workflow-basic-steps-plugin "waitUtil" should have a MAX_RECURRENCE_PERIOD
-
- Resolved
-
-
JENKINS-31343 Allow to set a max delay on the "Wait for condition"
-
- Resolved
-
- links to
Well, waitUntil as it stands will at worst waste an amount of time expressible as a fraction/multiple of the actual average delay before the condition stands, because it uses an exponential backoff. If it does scale up to a user-defined maximum, you would get a faster build at the expense of more overhead rechecking the condition.