Fix release-job.sh Nexus proxy var - 2 68/16368/1
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Tue, 30 Jul 2019 00:14:25 +0000 (17:14 -0700)
committerJessica Wagantall <jwagantall@linuxfoundation.org>
Tue, 30 Jul 2019 00:18:18 +0000 (17:18 -0700)
Avoid the usage of project specific variables.
Do not use ODLNEXUSPROXY var, but instead use
a generalized variable.

Commit 118b7cbf171aca498d1a0a3a485bad990ad2e7b6
missed this variable.

Issue: RELENG-2131
Change-Id: I3adee1f41616495aab3afe262e8fa70902d619f7
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
releasenotes/notes/standardize-nexus-proxy-release-job-2-9c904ce3b09d08da.yaml [new file with mode: 0644]
shell/release-job.sh

diff --git a/releasenotes/notes/standardize-nexus-proxy-release-job-2-9c904ce3b09d08da.yaml b/releasenotes/notes/standardize-nexus-proxy-release-job-2-9c904ce3b09d08da.yaml
new file mode 100644 (file)
index 0000000..2343567
--- /dev/null
@@ -0,0 +1,12 @@
+---
+upgrade:
+  - |
+    Projects using lf-release-jobs need to make sure they have the global
+    variable NEXUSPROXY added in Jenkins production and Jenkins sandbox
+    servers. The value of this variable should be the URL to the project's
+    Nexus server. Previous commit 118b7cbf171aca498d1a0a3a485bad990ad2e7b6
+    missed this variable.
+fixes:
+  - |
+    Avoid the usage of project specific variables. Do not use ODLNEXUSPROXY
+    var, but instead use a generalized variable.
index e545eca..48d8f2c 100644 (file)
@@ -69,7 +69,7 @@ for release_file in $release_files; do
         echo "LOGS_SERVER: $LOGS_SERVER"
         echo "NEXUS_URL: $NEXUS_URL"
         echo "NEXUS_PATH: $NEXUS_PATH"
-        echo "ODLNEXUSPROXY: $ODLNEXUSPROXY"
+        echo "NEXUSPROXY: $NEXUSPROXY"
         echo "JENKINS_HOSTNAME: $JENKINS_HOSTNAME"
         echo "SILO: $SILO"
         echo "PROJECT: $PROJECT"