Closed krame505 closed 1 year ago
Yeah there still might technically be a race here, but waitUntil
backs off to poll every 15 seconds, so the chances of multiple builds starting their downstream phase at once are small. And in the worst case we fall back to the previous behavior, of just having downstream tasks from multiple builds in the queue.
Changes
This should (hopefully) fix the issue with multiple Silver builds started close to the same time causing all executor slots to get filled with builds waiting for other downstream builds to complete.
Documentation
Added comments in Jenkinsfile and jenkins-lib.