fix:: ignore missing image/test folder

This commit is contained in:
Mirco 2023-12-22 15:46:11 +01:00
parent 52622b1f2d
commit 2aec5b44d2

View file

@ -52,9 +52,9 @@ class ImageBuildService:
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: try:
self.file_api.cp_recursive("test", build_path) self.file_api.cp_recursive("test", build_path)
except FileNotFoundError as err: except:
print("File not found", err) print("Folder 'test' not found")
def image(self, devops: Devops): def image(self, devops: Devops):
image = devops.specialized_builds[BuildType.IMAGE] image = devops.specialized_builds[BuildType.IMAGE]