Skip to content
Snippets Groups Projects
Commit e096b80b authored by Hans Fangohr's avatar Hans Fangohr
Browse files

add more detail from job

this is nice for debuging as it includes the information we want to obtain by
calling the command (such as branch name, commit hash, etc).
parent 9b922eb1
No related branches found
No related tags found
1 merge request!42add CompletedProcess in logging of `run`
......@@ -415,6 +415,7 @@ def run(*args, counter=[0], **kwargs):
process = subprocess.run(*args, **kwargs)
execution_time = time.time() - time_start
logging.debug(f"{token} {process=}")
logging.debug(f"{token} Completed in {execution_time:.4f}s.")
logging.debug(f"{token}") # near-empty line to make reading logs easier
return process
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment