Index: build/android/buildbot/bb_device_steps.py |
diff --git a/build/android/buildbot/bb_device_steps.py b/build/android/buildbot/bb_device_steps.py |
index 92a3e1bb05b5c952a3ca7a865f0e8ca6eaebbfe9..2cb431ed88b8de620212c936f1609340d6b92f4a 100755 |
--- a/build/android/buildbot/bb_device_steps.py |
+++ b/build/android/buildbot/bb_device_steps.py |
@@ -314,7 +314,9 @@ def UploadCoverageData(options, path, coverage_type): |
Returns: |
None. |
""" |
- revision = options.build_properties.get('got_revision', 'testing') |
+ revision = options.build_properties.get('got_revision') |
+ if not revision: |
+ revision = options.build_properties.get('revision', 'testing') |
bot_id = options.build_properties.get('buildername', 'testing') |
randhash = hashlib.sha1(str(random.random())).hexdigest() |
gs_path = '%s/%s/%s/%s/%s' % (options.coverage_bucket, coverage_type, |