diff options
Diffstat (limited to 'infra/bots/recipes/upload_dm_results.py')
-rw-r--r-- | infra/bots/recipes/upload_dm_results.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/infra/bots/recipes/upload_dm_results.py b/infra/bots/recipes/upload_dm_results.py index dffcc923d9..8e62e244a0 100644 --- a/infra/bots/recipes/upload_dm_results.py +++ b/infra/bots/recipes/upload_dm_results.py @@ -86,10 +86,9 @@ def RunSteps(api): # Trybot results are further siloed by issue/patchset. 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: summary_dest_path = '/'.join(( 'trybot', summary_dest_path, issue, patchset)) |