mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-19 20:59:02 +02:00
schedulers: Really fix builderName handling (magic indexes rule :/)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
1f9f212256
commit
5f370fbce0
|
@ -103,7 +103,7 @@ for builder in config.subbuilders:
|
||||||
@util.renderer
|
@util.renderer
|
||||||
def builderNamesFromConfig(props):
|
def builderNamesFromConfig(props):
|
||||||
#log.msg("builderNames: Sourcestamp %s, props %s" % (str(props.sourcestamps), str(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:
|
for b in config.trigger_builders_wait_releases:
|
||||||
if yp_branch.startswith(b):
|
if yp_branch.startswith(b):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user