schedulers: Ensure helper branch is set correctly in schedulers

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2021-06-03 11:29:02 +01:00
parent 909f503ca0
commit 0334d60cf6

View File

@ -181,6 +181,8 @@ def parent_default_props(buildername, branchname=None):
repos = config.buildertorepos.get(buildername)
if not repos:
repos = config.buildertorepos["default"]
if branchname:
props['branch'] = branchname
for repo in repos:
props["repo_{}".format(repo)] = config.repos[repo][0]
branchkey = "branch_{}".format(repo)