schedulers: Really fix builderName handling (magic indexes rule :/)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2019-11-07 10:04:18 +00:00
parent 1f9f212256
commit 5f370fbce0

View File

@ -103,7 +103,7 @@ for builder in config.subbuilders:
@util.renderer
def builderNamesFromConfig(props):
#log.msg("builderNames: Sourcestamp %s, props %s" % (str(props.sourcestamps), str(props)))
yp_branch = props.getProperty('branch', '')
yp_branch = props.sourcestamps[0]['branch']
for b in config.trigger_builders_wait_releases:
if yp_branch.startswith(b):