If one of the previous build is failed or still ongoing, then the loop would iterate always on the same build until it reaches NUMBER_OF_BUILDS_TO_SEARCH, skipping any further builds.
[X] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
[X] Ensure that the pull request title represents the desired changelog entry
[X] 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 demonstrates feature works or fixes the issue
If one of the previous build is failed or still ongoing, then the loop would iterate always on the same build until it reaches
NUMBER_OF_BUILDS_TO_SEARCH
, skipping any further builds.