From e820b264251c8e2bcdd6b3a164522197fbdfbce9 Mon Sep 17 00:00:00 2001 From: rem31 <73845199+rem31@users.noreply.github.com> Date: Wed, 29 Jun 2022 10:27:30 +0200 Subject: [PATCH] fix(ci/sonar): get cache sonar (#305) --- ci/scripts/collect-sonar-scanner-common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/scripts/collect-sonar-scanner-common.sh b/ci/scripts/collect-sonar-scanner-common.sh index 0835860629f..4a980d83786 100755 --- a/ci/scripts/collect-sonar-scanner-common.sh +++ b/ci/scripts/collect-sonar-scanner-common.sh @@ -31,8 +31,8 @@ get_cache() { echo "INFO: Pulling tarball ..." wget -q "$CACHE_URL" else - TAR_NAME="SQ-cache/$PROJECT/$PROJECT-SQ-cache-$CACHE_REFERENCE.tar.gz" - CACHE_URL="http://srvi-repo.int.centreon.com/sources/internal/$TAR_NAME" + TAR_NAME="$PROJECT-SQ-cache-$CACHE_REFERENCE.tar.gz" + CACHE_URL="http://srvi-repo.int.centreon.com/sources/internal/SQ-cache/$PROJECT/$TAR_NAME" if validate_file_exists "$CACHE_URL"; then echo "INFO: Pulling tarball $CACHE_REFERENCE ..." wget -q "$CACHE_URL"