From fe5b6b7d7681983fcfb04a5b09e4fcab058ffa16 Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Wed, 4 Sep 2019 17:18:26 +0530 Subject: [PATCH] Remove the unused MAVEN_CENTRAL_URL variable 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 --- releasenotes/notes/remove-unused-varable-18fd14723ceab239.yaml | 7 +++++++ shell/release-job.sh | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/remove-unused-varable-18fd14723ceab239.yaml diff --git a/releasenotes/notes/remove-unused-varable-18fd14723ceab239.yaml b/releasenotes/notes/remove-unused-varable-18fd14723ceab239.yaml new file mode 100644 index 00000000..da80b4f1 --- /dev/null +++ b/releasenotes/notes/remove-unused-varable-18fd14723ceab239.yaml @@ -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. diff --git a/shell/release-job.sh b/shell/release-job.sh index fd43d754..5b937265 100644 --- a/shell/release-job.sh +++ b/shell/release-job.sh @@ -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 -- 2.16.6