pipeline: always invoke monitor.finish

Also invoke `monitor.finish` when the pipeline failed to built.
There is no need to not invoke it in that case. This also will
allow us to print some information in the monitor in tha case.
This commit is contained in:
Christian Kellner 2022-02-13 09:23:47 +00:00
parent 9cb9a0d817
commit d70a8d6419

View file

@ -348,10 +348,10 @@ class Pipeline:
monitor.begin(self)
results = self.build_stages(store, monitor, libdir, stage_timeout)
if not results["success"]:
return results
results = self.build_stages(store,
monitor,
libdir,
stage_timeout)
monitor.finish(results)