Skip to content

[JENKINS-29037] waitUntil: Make maximum recurrence period configurable - #553

Open
HannesWell wants to merge 1 commit into
jenkinsci:masterfrom
HannesWell:configurable-max-recur-period
Open

[JENKINS-29037] waitUntil: Make maximum recurrence period configurable#553
HannesWell wants to merge 1 commit into
jenkinsci:masterfrom
HannesWell:configurable-max-recur-period

Conversation

@HannesWell

Copy link
Copy Markdown

As suggested also in #7 (comment) ff, this adds a maxRecurrencePeriod parameter.

Fixes #395

Testing done

Extended the existing WaitForConditionStepTest class by a new case maxRecurrence() that sets deliberately a very low max limit in order to test that this limit is hit and maintained.
I'm not sure if there is a convenient method to verify that that there are no other wait periods printed.

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

@HannesWell
HannesWell requested a review from a team as a code owner September 6, 2026 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[JENKINS-29037] Add Max interval to waitUntil

1 participant