Commit 5c85ee88 authored by Emily Hanley's avatar Emily Hanley Committed by Commit Bot

Do a check for git_revision for tryserver jobs

Bug: 758632
Change-Id: I12b77b94313845e2b38d03313915a23663363a5e
Reviewed-on: https://chromium-review.googlesource.com/1011574Reviewed-by: default avatarAshley Enstad <ashleymarie@chromium.org>
Commit-Queue: Emily Hanley <eyaich@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550654}
parent b7a13e3e
...@@ -68,7 +68,6 @@ def _upload_perf_results(json_to_upload, name, configuration_name, ...@@ -68,7 +68,6 @@ def _upload_perf_results(json_to_upload, name, configuration_name,
'--configuration-name', configuration_name, '--configuration-name', configuration_name,
'--results-file', json_to_upload, '--results-file', json_to_upload,
'--results-url', RESULTS_URL, '--results-url', RESULTS_URL,
'--git-revision', build_properties['git_revision'],
'--got-revision-cp', build_properties['got_revision_cp'], '--got-revision-cp', build_properties['got_revision_cp'],
'--got-v8-revision', build_properties['got_v8_revision'], '--got-v8-revision', build_properties['got_v8_revision'],
'--got-webrtc-revision', build_properties['got_webrtc_revision'], '--got-webrtc-revision', build_properties['got_webrtc_revision'],
...@@ -76,6 +75,9 @@ def _upload_perf_results(json_to_upload, name, configuration_name, ...@@ -76,6 +75,9 @@ def _upload_perf_results(json_to_upload, name, configuration_name,
'--output-json-file', output_json_file, '--output-json-file', output_json_file,
'--perf-dashboard-machine-group', _GetMachineGroup(build_properties) '--perf-dashboard-machine-group', _GetMachineGroup(build_properties)
] ]
if build_properties.get('git_revision'):
args.append('--git-revision')
args.append(build_properties['git_revision'])
if _is_histogram(json_to_upload): if _is_histogram(json_to_upload):
args.append('--send-as-histograms') args.append('--send-as-histograms')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment