Bug 1168979 part 5 - Add allowed_build_tasks to distinguish builds that require symbol uploading; r=mrrrgn

This commit is contained in:
Anthony Miyaguchi
2015-07-09 14:47:34 -07:00
parent 836ca82095
commit 16ce9e37da
3 changed files with 15 additions and 3 deletions

View File

@@ -374,10 +374,10 @@ class Graph(object):
message = '({}), extra.treeherder.collection must contain one type'
raise ValueError(message.fomrat(build['task']))
if 'post-build' in build:
for post_build in build['post-build']:
# copy over the old parameters to update the template
post_parameters = copy.copy(build_parameters)
post_task = configure_dependent_task(build['post-build']['task'],
post_task = configure_dependent_task(post_build['task'],
post_parameters,
slugid(),
templates,