From 1d087cb65f221d0e10953b508992f9c704845840 Mon Sep 17 00:00:00 2001 From: Pedro Larroy Date: Fri, 26 Apr 2019 18:59:57 +0000 Subject: [PATCH] Print reproduction command on CI failure --- ci/build.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/build.py b/ci/build.py index 1c7a4f8b3231..3d6fb9b4d893 100755 --- a/ci/build.py +++ b/ci/build.py @@ -331,6 +331,7 @@ def container_run(platform: str, ret = wait_result.get('StatusCode', 200) if ret != 0: logging.error("Container exited with an error 😞") + logging.info("Executed command for reproduction:\n\n%s\n", " ".join(sys.argv)) else: logging.info("Container exited with success 👍") except Exception as e: