aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipes/upload_dm_results.py
diff options
context:
space:
mode:
authorGravatar Ravi Mistry <rmistry@google.com>2016-11-21 16:06:19 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-11-22 12:36:17 +0000
commit9bcca6a2124b60ce9fab18ba697b28fc6a1354db (patch)
treebaca6579b9b011c6930b9324d55d7b8ed2e52255 /infra/bots/recipes/upload_dm_results.py
parent759ae5639b0dfe5a0d5491aa0e0b9855aa42ab73 (diff)
Roll recipe DEPS
Looks like slave_build and cwd changed to start_dir in https://bugs.chromium.org/p/chromium/issues/detail?id=662586 BUG=skia:5979 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=5104 Change-Id: I46d080b9089ea9b4adc2ed45fc81fdc192bdb2b2 Reviewed-on: https://skia-review.googlesource.com/5104 Reviewed-by: Ben Wagner <benjaminwagner@google.com> Commit-Queue: Ravi Mistry <rmistry@google.com>
Diffstat (limited to 'infra/bots/recipes/upload_dm_results.py')
-rw-r--r--infra/bots/recipes/upload_dm_results.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/infra/bots/recipes/upload_dm_results.py b/infra/bots/recipes/upload_dm_results.py
index 8e62e244a0..946c77b9b5 100644
--- a/infra/bots/recipes/upload_dm_results.py
+++ b/infra/bots/recipes/upload_dm_results.py
@@ -49,12 +49,12 @@ def RunSteps(api):
builder_name = api.properties['buildername']
revision = api.properties['revision']
- results_dir = api.path['cwd'].join('dm')
+ results_dir = api.path['start_dir'].join('dm')
# Move dm.json and verbose.log to their own directory.
json_file = results_dir.join(DM_JSON)
log_file = results_dir.join(VERBOSE_LOG)
- tmp_dir = api.path['cwd'].join('tmp_upload')
+ tmp_dir = api.path['start_dir'].join('tmp_upload')
api.shutil.makedirs('tmp dir', tmp_dir, infra_step=True)
api.shutil.copy('copy dm.json', json_file, tmp_dir)
api.shutil.copy('copy verbose.log', log_file, tmp_dir)