From: Anil Belur Date: Wed, 4 Sep 2019 11:48:26 +0000 (+0530) Subject: Remove the unused MAVEN_CENTRAL_URL variable X-Git-Tag: v0.43.0~8 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=fe5b6b7d7681983fcfb04a5b09e4fcab058ffa16;p=releng%2Fglobal-jjb.git 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 --- 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