[Android compile bot] Fix path to GS file name

Bug: skia:8388
Change-Id: Ifb9654439abf252c6e466d568329b151a4915e3f
Reviewed-on: https://skia-review.googlesource.com/c/175588
Reviewed-by: Eric Boren <borenet@google.com>
Commit-Queue: Ravi Mistry <rmistry@google.com>
This commit is contained in:
Ravi Mistry 2018-12-07 12:32:10 -05:00 committed by Skia Commit-Bot
parent b2556dda17
commit 4f76db1534
2 changed files with 3 additions and 2 deletions

View File

@ -22,7 +22,7 @@
"cmd": [
"gsutil",
"cat",
"gs://android-compile-tasks/1234-1.json"
"gs://android-compile-tasks/cf_x86_phone-eng-1234-1.json"
],
"name": "Get task log links",
"stdout": "/path/to/tmp/json",

View File

@ -60,7 +60,8 @@ def RunSteps(api):
api.step('Trigger and wait for task on android compile server', cmd=cmd)
except api.step.StepFailure as e:
# Add withpatch and nopatch logs as links (if they exist).
gs_file = 'gs://android-compile-tasks/%s-%s.json' % (issue, patchset)
gs_file = 'gs://android-compile-tasks/%s-%s-%s.json' % (
lunch_target, issue, patchset)
step_result = api.step('Get task log links',
['gsutil', 'cat', gs_file],
stdout=api.json.output())