diff --git a/release/libs/_constants.sh b/release/libs/_constants.sh index 409d5da07f..78c3978f26 100644 --- a/release/libs/_constants.sh +++ b/release/libs/_constants.sh @@ -29,7 +29,7 @@ APACHE_DIST_DEV_PATH="/dev/parquet" APACHE_DIST_RELEASE_PATH="/release/parquet" NEXUS_BASE_URL=${NEXUS_BASE_URL:-"https://repository.apache.org/service/local"} -NEXUS_CONTENT_BASE_URL=${NEXUS_CONTENT_BASE_URL:-"https://repository.apache.org/content/repositories"} +NEXUS_CONTENT_BASE_URL=${NEXUS_CONTENT_BASE_URL:-"${NEXUS_BASE_URL}/repositories"} NEXUS_STAGING_GROUP_URL="https://repository.apache.org/content/groups/staging/org/apache/parquet/" NEXUS_PROFILE_NAME="org.apache.parquet" diff --git a/release/libs/_nexus.sh b/release/libs/_nexus.sh index 1dd3f1c4e7..d56adff7d4 100644 --- a/release/libs/_nexus.sh +++ b/release/libs/_nexus.sh @@ -108,7 +108,7 @@ function nexus_get_staging_repo_metadata { function nexus_check_staging_artifact { local repo_id="$1" local version="$2" - local artifact_url="${NEXUS_CONTENT_BASE_URL}/${repo_id}/${NEXUS_VERIFY_GROUP_PATH}/${NEXUS_VERIFY_ARTIFACT_ID}/${version}/${NEXUS_VERIFY_ARTIFACT_ID}-${version}.pom" + local artifact_url="${NEXUS_CONTENT_BASE_URL}/${repo_id}/content/${NEXUS_VERIFY_GROUP_PATH}/${NEXUS_VERIFY_ARTIFACT_ID}/${version}/${NEXUS_VERIFY_ARTIFACT_ID}-${version}.pom" if [[ ${DRY_RUN:-1} -eq 1 ]]; then print_command "Dry-run, WOULD HEAD ${artifact_url}"