Ensure that the `monitor` target is not executed if any of the preceding targets encounter failures

This commit is contained in:
Ivan Kravets committed 2023-07-15 15:15:21 +03:00
1 parent 390755c499
commit 0fe6bf262e
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -207,7 +207,7 @@ def process_env(
verbose,
).process()
if "monitor" in targets and "nobuild" not in targets:
if result["succeeded"] and "monitor" in targets and "nobuild" not in targets:
ctx.invoke(
device_monitor_cmd,
port=monitor_port,