mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-19 20:59:02 +02:00
builders: Fix reversed branchname matching logic
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
0094a385c8
commit
8c7217134a
|
@ -160,7 +160,7 @@ def nextWorker(bldr, workers, buildrequest):
|
|||
branch = buildrequest.sources[''].branch
|
||||
if branch and "bringup" not in bldr.name:
|
||||
for branchname in config.workers_prev_releases:
|
||||
if branch in branchname:
|
||||
if branchname in branch:
|
||||
possible_workers = []
|
||||
for w in workers:
|
||||
if w.worker.workername.startswith(config.workers_prev_releases[branchname]):
|
||||
|
|
Loading…
Reference in New Issue
Block a user