From b69cbd8ec5a0da2bfec8c5973e1defcb3e1762e3 Mon Sep 17 00:00:00 2001 From: Pedro Larroy Date: Wed, 1 May 2019 19:03:52 -0700 Subject: [PATCH] Print reproduction command on CI failure (#14815) --- 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: