From: Andrew Grimberg Date: Thu, 9 Sep 2021 16:29:19 +0000 (-0700) Subject: Fix: Correct unescaped env var in global settings X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=d019cb7cfda14a10c445a5c24d0a697e12cdb5f3;p=ci-management.git Fix: Correct unescaped env var in global settings While troubleshooting why maven jobs are failing to pull resources properly it was discovered that the JCasC configured global-settings file does not have the NEXUS_URL env var showing up in the stored file. Upon further investigation it is found that the JCasC needs to escape the $ with ^$ Change-Id: Ib3390dde854ff992020360aa613f19bed616092b Signed-off-by: Andrew Grimberg --- diff --git a/jenkins-config/managed-config-files/globalMavenSettings/global-settings/content b/jenkins-config/managed-config-files/globalMavenSettings/global-settings/content index 82e22ed9..c10b8145 100644 --- a/jenkins-config/managed-config-files/globalMavenSettings/global-settings/content +++ b/jenkins-config/managed-config-files/globalMavenSettings/global-settings/content @@ -9,7 +9,7 @@ release-mirror Local Nexus mirror for builds - ${env.NEXUS_URL}/content/repositories/public/ + ^${env.NEXUS_URL}/content/repositories/public/ central @@ -21,7 +21,7 @@ releases releases - ${env.NEXUS_URL}/content/repositories/releases/ + ^${env.NEXUS_URL}/content/repositories/releases/ true never @@ -35,7 +35,7 @@ releases releases - ${env.NEXUS_URL}/content/repositories/releases/ + ^${env.NEXUS_URL}/content/repositories/releases/ true never @@ -53,7 +53,7 @@ staging staging - ${env.NEXUS_URL}/content/repositories/staging/ + ^${env.NEXUS_URL}/content/repositories/staging/ true @@ -70,7 +70,7 @@ snapshots snapshots - ${env.NEXUS_URL}/content/repositories/snapshots/ + ^${env.NEXUS_URL}/content/repositories/snapshots/ false @@ -83,7 +83,7 @@ snapshots snapshots - ${env.NEXUS_URL}/content/repositories/snapshots/ + ^${env.NEXUS_URL}/content/repositories/snapshots/ false @@ -100,4 +100,4 @@ releases snapshots - \ No newline at end of file +