From 9cdd8de53df3351be88b5d61a430349e0f80dd11 Mon Sep 17 00:00:00 2001 From: Florian Behrens Date: Thu, 31 Oct 2024 16:13:20 +0100 Subject: [PATCH] Fix the case where JF_RELEASES_REPO is set. --- build/gitlab/v2/.setup-jfrog-unix.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build/gitlab/v2/.setup-jfrog-unix.yml b/build/gitlab/v2/.setup-jfrog-unix.yml index 4f8f78cfa..83fccb1f3 100644 --- a/build/gitlab/v2/.setup-jfrog-unix.yml +++ b/build/gitlab/v2/.setup-jfrog-unix.yml @@ -22,7 +22,7 @@ - | if [ -z "${JF_RELEASES_REPO}" ] then - BASE_URL="https://releases.jfrog.io/artifactory" + BASE_URL="https://releases.jfrog.io/artifactory/jfrog-cli" AUTH_HEADER="" echo "Downloading directly from releases.jfrog.io..." else @@ -42,9 +42,9 @@ if echo "${OSTYPE}" | grep -q darwin; then CLI_OS="mac" if [[ $(uname -m) == 'arm64' ]]; then - URL="${BASE_URL}/jfrog-cli/v2-jf/${VERSION}/jfrog-cli-mac-arm64/jf" + URL="${BASE_URL}/v2-jf/${VERSION}/jfrog-cli-mac-arm64/jf" else - URL="${BASE_URL}/jfrog-cli/v2-jf/${VERSION}/jfrog-cli-mac-386/jf" + URL="${BASE_URL}/v2-jf/${VERSION}/jfrog-cli-mac-386/jf" fi FILE_NAME="jf" else @@ -77,7 +77,7 @@ exit -1 ;; esac - URL="${BASE_URL}/jfrog-cli/v2-jf/${VERSION}/jfrog-cli-${CLI_OS}-${ARCH}/jf" + URL="${BASE_URL}/v2-jf/${VERSION}/jfrog-cli-${CLI_OS}-${ARCH}/jf" FILE_NAME="jf" fi