From 2ec4b8e6f64308d60285837af5a359dc53705a72 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Tue, 2 Feb 2016 17:30:04 -0700 Subject: [PATCH] Set config.archive_path if it's not set already This will only affect non-scheduled jobs Signed-off-by: Zack Cerza --- teuthology/run.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/teuthology/run.py b/teuthology/run.py index 641bd9a6..dcbb66f5 100644 --- a/teuthology/run.py +++ b/teuthology/run.py @@ -312,6 +312,9 @@ def main(args): config = setup_config(config) + if archive is not None and 'archive_path' not in config: + config['archive_path'] = archive + write_initial_metadata(archive, config, name, description, owner) report.try_push_job_info(config, dict(status='running')) -- 2.47.3