diff --git a/recipes/recipe_modules/presubmit/api.py b/recipes/recipe_modules/presubmit/api.py index 3fbdd2d59a..6f780c122c 100644 --- a/recipes/recipe_modules/presubmit/api.py +++ b/recipes/recipe_modules/presubmit/api.py @@ -98,6 +98,8 @@ class PresubmitApi(recipe_api.RecipeApi): '--issue', self.m.tryserver.gerrit_change.change, '--patchset', self.m.tryserver.gerrit_change.patchset, '--gerrit_url', 'https://%s' % self.m.tryserver.gerrit_change.host, + '--gerrit_project', self.m.tryserver.gerrit_change.project, + '--gerrit_branch', self.m.tryserver.gerrit_change_target_ref, '--gerrit_fetch', ] if self.m.cq.state == self.m.cq.DRY: