From 396fc8944bd53306bf4477c2b57db4c9bf68c74f Mon Sep 17 00:00:00 2001 From: Nick Hagerty Date: Mon, 13 May 2024 14:00:16 -0400 Subject: [PATCH] Added machine name to path for HTTPS --- harness/libraries/repositories/single_app_git_repository.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/harness/libraries/repositories/single_app_git_repository.py b/harness/libraries/repositories/single_app_git_repository.py index ae2e790..f183590 100644 --- a/harness/libraries/repositories/single_app_git_repository.py +++ b/harness/libraries/repositories/single_app_git_repository.py @@ -28,13 +28,13 @@ def get_application_parent_directory(cls): @classmethod def get_repository_url_of_application(cls,application): my_machine = os.getenv("RGT_GIT_MACHINE_NAME") - parent_directory = cls.get_application_parent_directory() + parent_directory = cls.get_application_parent_directory() + "/" + my_machine data_transfer_protocol = os.getenv("RGT_GIT_DATA_TRANSFER_PROTOCOL") if data_transfer_protocol == "ssh" : my_git_server_url=os.getenv("RGT_GIT_SSH_SERVER_URL") - path1 = my_git_server_url + ":" + parent_directory + "/" + my_machine + "/" + path1 = my_git_server_url + ":" + parent_directory + "/" path2 = application + ".git" git_url_to_remote_repsitory_application = path1 + path2 elif data_transfer_protocol == "https":