Bug 1318659 - Don't call SETA for build jobs; r=jmaher

MozReview-Commit-ID: 5O5k0WRorBp

--HG--
extra : rebase_source : b506c0ac945a58cb9d9c15cda2c69f2de53ebd2e
This commit is contained in:
Rob Wood 2017-02-24 10:16:35 -05:00
parent 4b15334588
commit 0394756ea7

View File

@ -102,8 +102,12 @@ class TransformTask(base.Task):
self.label)
return True, None
# no need to call SETA for build jobs
if self.task.get('extra', {}).get('treeherder', {}).get('jobKind', '') == 'build':
return False, None
# for bbb tasks we need to send in the buildbot buildername
if self.task.get('provisionerId') == 'buildbot-bridge':
if self.task.get('provisionerId', '') == 'buildbot-bridge':
self.label = self.task.get('payload').get('buildername')
bbb_task = True