ignore missing image/test folder
This commit is contained in:
parent
147cb1bd72
commit
0ba623c560
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||||
self.file_api.cp_recursive("test", build_path)
|
try:
|
||||||
|
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]
|
||||||
|
|
Loading…
Reference in a new issue