Print commit details with server URL in a formatted manner

- Added print statements to display the beginning and end of execution
- Modified the print statement to display the server URL in a formatted manner
This commit is contained in:
Jonathon Broughton
2024-08-04 17:36:15 +01:00
parent 62d5e67bab
commit 46b6c0d68c
2 changed files with 7 additions and 1 deletions
+4
View File
@@ -9,5 +9,9 @@ sys.path.append(str(src_path))
from src.main import automate_function, FunctionInputs
if __name__ == "__main__":
print("---------")
print("| BEGIN |")
print("---------")
# Entry point: Execute the automate function with defined inputs.
execute_automate_function(automate_function, FunctionInputs)
+3 -1
View File
@@ -113,7 +113,9 @@ def automate_function(
file_name = write_pdf_to_temp(report)
print(commit_details["server_url"])
print("------------------------------------------------")
print(f"| {commit_details["server_url"]} |")
print("------------------------------------------------")
safe_store_file_result(automate_context, file_name)