diff --git a/.gitlab-ci/download-git-cache.sh b/.gitlab-ci/download-git-cache.sh index 3e339935028..e66f989278c 100644 --- a/.gitlab-ci/download-git-cache.sh +++ b/.gitlab-ci/download-git-cache.sh @@ -16,11 +16,11 @@ fi TMP_DIR=$(mktemp -d) echo "Downloading archived master..." -curl --retry 4 -f --retry-all-errors --retry-delay 60 \ - -o "$TMP_DIR/$CI_PROJECT_NAME.tar.gz" \ +/usr/bin/wget \ + -O "$TMP_DIR/$CI_PROJECT_NAME.tar.gz" \ "https://${MINIO_HOST}/git-cache/${FDO_UPSTREAM_REPO}/$CI_PROJECT_NAME.tar.gz" -# check curl error code +# check wget error code if [[ $? -ne 0 ]] then echo "Repository cache not available"