Change-Id: I097359dfe1a6edbc9f1c4ab66b316e07c18be359
import os
import sys
import shutil
+from time import sleep
from common.utils import sync
from common.utils import make_latest_link
repo_list[-1])
# update the latest link
- make_latest_link(path_latest_release_snapshot)
+ print 'path_latest_release_snapshot:%s' % path_latest_release_snapshot
+ for x in [1, 2, 3]:
+ try:
+ make_latest_link(path_latest_release_snapshot)
+ except Exception as err:
+ sleep(1)
+ break
# update reference project information with release id
if os.getenv("REF_MAP_UPDATE_ENABLED", "0") != "0" \