Bug 1382729: add support for run-on-projects with -j; r?gps
MozReview-Commit-ID: GB5E5RhEcu
--- a/taskcluster/taskgraph/try_option_syntax.py
+++ b/taskcluster/taskgraph/try_option_syntax.py
@@ -598,17 +598,17 @@ class TryOptionSyntax(object):
# they will schedule their builds even if they end up optimized away. This means
# to run these tasks on try, they'll need to be explicitly specified by -j until
# we find a better solution (see bug 1372510).
return False
elif not self.jobs and attr('build_platform'):
if self.platforms is None or attr('build_platform') in self.platforms:
return True
return False
- return True
+ return check_run_on_projects()
elif attr('kind') == 'test':
return match_test(self.unittests, 'unittest_try_name') \
or match_test(self.talos, 'talos_try_name')
elif attr('kind') in BUILD_KINDS:
if attr('build_type') not in self.build_types:
return False
elif self.platforms is None:
# for "-p all", look for try in the 'run_on_projects' attribute