Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Print reproduction command on CI failure
Browse files Browse the repository at this point in the history
  • Loading branch information
larroy committed Apr 29, 2019
1 parent 64287dd commit 1d087cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ci/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1d087cb

Please sign in to comment.