From 27e470f4461b69caac247c2202cfb44c950c9db5 Mon Sep 17 00:00:00 2001 From: Vojtech Horky Date: Tue, 28 Aug 2018 21:12:15 +0200 Subject: [PATCH] Even failed task can have artefacts --- hbuild/scheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbuild/scheduler.py b/hbuild/scheduler.py index c7bf82d..4fa855b 100755 --- a/hbuild/scheduler.py +++ b/hbuild/scheduler.py @@ -75,7 +75,7 @@ class Task: self.report['attrs']['duration'] = (end_time - start_time) * 1000 self.report['result'] = 'fail' - self.report['files'] = [] + self.report['files'] = self.ctl.get_files() self.ctl.done() raise e -- 2.11.4.GIT