Merge "Extend sonatype-clm.sh goals"
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Tue, 30 Jul 2019 21:05:21 +0000 (21:05 +0000)
committerGerrit Code Review <gerrit@linuxfoundation.org>
Tue, 30 Jul 2019 21:05:21 +0000 (21:05 +0000)
releasenotes/notes/release-job-download-raw-schema-637e554e5ad14f2c.yaml [new file with mode: 0644]
releasenotes/notes/standardize-nexus-proxy-release-job-2-9c904ce3b09d08da.yaml [new file with mode: 0644]
shell/release-job.sh

diff --git a/releasenotes/notes/release-job-download-raw-schema-637e554e5ad14f2c.yaml b/releasenotes/notes/release-job-download-raw-schema-637e554e5ad14f2c.yaml
new file mode 100644 (file)
index 0000000..e0e34c7
--- /dev/null
@@ -0,0 +1,5 @@
+---
+fixes:
+  - |
+    Download raw version of release-schema.yaml to compare against
+    release files using lftools.
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..ec59da0 100644 (file)
@@ -37,7 +37,7 @@ fi
 NEXUS_URL="${NEXUSPROXY:-$NEXUS_URL}"
 
 # Fetch the release-schema.yaml
-wget -q https://github.com/lfit/releng-global-jjb/blob/master/schema/release-schema.yaml
+wget -q https://raw.githubusercontent.com/lfit/releng-global-jjb/master/schema/release-schema.yaml
 
 release_files=$(git diff HEAD^1 --name-only -- "releases/")
 echo "RELEASE FILES ARE AS FOLLOWS: $release_files"
@@ -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"