| Index: scripts/slave/recipe_modules/v8/api.py
|
| diff --git a/scripts/slave/recipe_modules/v8/api.py b/scripts/slave/recipe_modules/v8/api.py
|
| index 051de3cd9c690da6c9e20515f9d1d5b281b32e5c..4545c64eb48e4b893b1291fba3db9304e08d5f93 100644
|
| --- a/scripts/slave/recipe_modules/v8/api.py
|
| +++ b/scripts/slave/recipe_modules/v8/api.py
|
| @@ -1003,7 +1003,6 @@ class V8Api(recipe_api.RecipeApi):
|
| triggers = self.bot_config.get('triggers')
|
| if triggers:
|
| properties = {
|
| - 'revision': self.revision,
|
| 'parent_got_revision': self.revision,
|
| 'parent_got_revision_cp': self.revision_cp,
|
| }
|
| @@ -1017,8 +1016,15 @@ class V8Api(recipe_api.RecipeApi):
|
| patchset=str(self.m.properties['patchset']),
|
| reason=str(self.m.properties['reason']),
|
| requester=str(self.m.properties['requester']),
|
| + # On tryservers, set revision to the same as on the current bot,
|
| + # as CQ expects builders and testers to match the revision field.
|
| + revision=str(self.m.properties.get('revision', 'HEAD')),
|
| rietveld=str(self.m.properties['rietveld']),
|
| )
|
| + else:
|
| + # On non-tryservers, we can set the revision to whatever the
|
| + # triggering builder checked out.
|
| + properties['revision'] = self.revision
|
|
|
| # TODO(machenbach): Also set meaningful buildbucket tags of triggering
|
| # parent.
|
|
|