aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipes/upload_nano_results.py
diff options
context:
space:
mode:
Diffstat (limited to 'infra/bots/recipes/upload_nano_results.py')
-rw-r--r--infra/bots/recipes/upload_nano_results.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/infra/bots/recipes/upload_nano_results.py b/infra/bots/recipes/upload_nano_results.py
index cf71fdcd67..ce3aa1a313 100644
--- a/infra/bots/recipes/upload_nano_results.py
+++ b/infra/bots/recipes/upload_nano_results.py
@@ -41,10 +41,9 @@ def RunSteps(api):
issue = str(api.properties.get('issue', ''))
patchset = str(api.properties.get('patchset', ''))
- if (api.properties.get('patch_storage', '') == 'gerrit' and
- api.properties.get('nobuildbot', '') != 'True'):
+ if api.properties.get('patch_storage', '') == 'gerrit':
issue = str(api.properties['patch_issue'])
- patchset = str(api.properties['patch_ref']).split('/')[-1]
+ patchset = str(api.properties['patch_set'])
if issue and patchset:
gs_path = '/'.join(('trybot', gs_path, issue, patchset))