Add missing content/repositories path to URL 81/5381/3
authorAnil Belur <abelur@linuxfoundation.org>
Tue, 4 Jul 2017 00:47:28 +0000 (10:47 +1000)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 4 Jul 2017 14:35:47 +0000 (10:35 -0400)
NEXUS_REPO_URL was missing the content/repositories path creating an
invalid upload path for Nexus.

Change-Id: I09f6ff06e71355aafcb90cb2d011203bfc6584c0
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
shell/deploy-maven-file.sh

index 34d26d4..8b6fad8 100644 (file)
@@ -23,7 +23,7 @@ set -eu -o pipefail
 DEPLOY_LOG="$WORKSPACE/archives/deploy-maven-file.log"
 mkdir -p "$WORKSPACE/archives"
 
-NEXUS_REPO_URL="${NEXUS_URL}/$REPO_ID"
+NEXUS_REPO_URL="${NEXUS_URL}/content/repositories/$REPO_ID"
 
 while IFS="" read -r file
 do