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:
parent
9cb9a0d817
commit
d70a8d6419
1 changed files with 4 additions and 4 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue