Skip to content

Commit

Permalink
Print reproduction command on CI failure (apache#14815)
Browse files Browse the repository at this point in the history
  • Loading branch information
larroy authored and Rohit Kumar Srivastava committed May 14, 2019
1 parent 6ce6adc commit 564d136
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 564d136

Please sign in to comment.