diff options
-rwxr-xr-x | build/android/buildbot/bb_device_steps.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build/android/buildbot/bb_device_steps.py b/build/android/buildbot/bb_device_steps.py index 92a3e1b..2cb431e 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, |