From 6947dd533afff043415db435a469b27629062eed Mon Sep 17 00:00:00 2001 From: Chen Yudong Date: Thu, 16 Nov 2023 10:54:37 +0800 Subject: [PATCH] ci: fix fetch_from_mirror_url_if_exists --- .gitlab/ci/common.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab/ci/common.yml b/.gitlab/ci/common.yml index c804b66611..27dad45334 100644 --- a/.gitlab/ci/common.yml +++ b/.gitlab/ci/common.yml @@ -229,7 +229,8 @@ variables: else git remote add origin "${MIRROR_REPO_URL}" fi - git fetch origin --no-recurse-submodules + # mirror url may fail with authentication issue + git fetch origin --no-recurse-submodules || true fi # set remote url to CI_REPOSITORY_URL