Remove the unused MAVEN_CENTRAL_URL variable 86/61586/1
authorAnil Belur <abelur@linuxfoundation.org>
Wed, 4 Sep 2019 11:48:26 +0000 (17:18 +0530)
committerAnil Belur <abelur@linuxfoundation.org>
Wed, 4 Sep 2019 12:00:42 +0000 (17:30 +0530)
Remove the unused MAVEN_CENTRAL_URL variable. The self-release job is
designed to work with any Nexus repository info published in
`staging-repo.txt.gz`, which makes the `MAVEN_CENTRAL_URL` redundant,
hence remove the unused variable.

Issue: RELENG-2129
Change-Id: Iabb772d908f8001a6626d728a9140ff14e3088f2
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
releasenotes/notes/remove-unused-varable-18fd14723ceab239.yaml [new file with mode: 0644]
shell/release-job.sh

diff --git a/releasenotes/notes/remove-unused-varable-18fd14723ceab239.yaml b/releasenotes/notes/remove-unused-varable-18fd14723ceab239.yaml
new file mode 100644 (file)
index 0000000..da80b4f
--- /dev/null
@@ -0,0 +1,7 @@
+---
+fixes:
+  - |
+    Remove unused the MAVEN_CENTRAL_URL variable. The self-release job is
+    designed to work with any Nexus repository info published in
+    `staging-repo.txt.gz`, which makes the `MAVEN_CENTRAL_URL` redundant,
+    hence remove the unused variable.
index fd43d75..5b93726 100644 (file)
@@ -151,7 +151,6 @@ echo "########### Start Script release-job.sh ##################################
 echo "---> INFO: Setting all VARS"
 
 LOGS_SERVER="${LOGS_SERVER:-None}"
-MAVEN_CENTRAL_URL="${MAVEN_CENTRAL_URL:-None}"
 if [ "${LOGS_SERVER}" == 'None' ]; then
     echo "FAILED: log server not found"
     exit 1