ignore missing image/test folder

This commit is contained in:
Mirco 2023-12-22 15:17:36 +01:00
parent 147cb1bd72
commit 0ba623c560

View file

@ -51,7 +51,10 @@ class ImageBuildService:
else: else:
self.__copy_build_resources_from_dir__(devops) self.__copy_build_resources_from_dir__(devops)
self.file_api.cp_recursive("image", build_path) self.file_api.cp_recursive("image", build_path)
try:
self.file_api.cp_recursive("test", build_path) self.file_api.cp_recursive("test", build_path)
except FileNotFoundError as err:
print("File not found", err)
def image(self, devops: Devops): def image(self, devops: Devops):
image = devops.specialized_builds[BuildType.IMAGE] image = devops.specialized_builds[BuildType.IMAGE]