Fix: Add caret to escape Jenkins vars 14/4414/1
authorEric Ball <eball@linuxfoundation.org>
Wed, 15 Sep 2021 19:41:59 +0000 (12:41 -0700)
committerEric Ball <eball@linuxfoundation.org>
Wed, 15 Sep 2021 19:41:59 +0000 (12:41 -0700)
Change-Id: I0e5369667f8d0b17f4e470ccdadf0ffc07f66362
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
jenkins-config/managed-config-files/globalMavenSettings/global-settings/content

index c1d6729..436f14d 100644 (file)
@@ -9,7 +9,7 @@
     <mirror>
       <id>release-mirror</id>
       <name>Local Nexus mirror for builds</name>
-      <url>${env.NEXUS_URL}/content/repositories/public/</url>
+      <url>^${env.NEXUS_URL}/content/repositories/public/</url>
       <mirrorOf>central</mirrorOf>
     </mirror>
   </mirrors>
@@ -21,7 +21,7 @@
         <repository>
           <id>releases</id>
           <name>releases</name>
-          <url>${env.NEXUS_URL}/content/repositories/releases/</url>
+          <url>^${env.NEXUS_URL}/content/repositories/releases/</url>
           <releases>
             <enabled>true</enabled>
             <updatePolicy>never</updatePolicy>
@@ -36,7 +36,7 @@
         <pluginRepository>
           <id>releases</id>
           <name>releases</name>
-          <url>${env.NEXUS_URL}/content/repositories/releases/</url>
+          <url>^${env.NEXUS_URL}/content/repositories/releases/</url>
           <releases>
             <enabled>true</enabled>
             <updatePolicy>never</updatePolicy>
@@ -54,7 +54,7 @@
         <repository>
           <id>staging</id>
           <name>staging</name>
-          <url>${env.NEXUS_URL}/content/repositories/staging/</url>
+          <url>^${env.NEXUS_URL}/content/repositories/staging/</url>
           <releases>
             <enabled>true</enabled>
           </releases>
@@ -71,7 +71,7 @@
         <repository>
           <id>snapshots</id>
           <name>snapshots</name>
-          <url>${env.NEXUS_URL}/content/repositories/snapshots/</url>
+          <url>^${env.NEXUS_URL}/content/repositories/snapshots/</url>
           <releases>
             <enabled>false</enabled>
           </releases>
@@ -85,7 +85,7 @@
         <pluginRepository>
           <id>snapshots</id>
           <name>snapshots</name>
-          <url>${env.NEXUS_URL}/content/repositories/snapshots/</url>
+          <url>^${env.NEXUS_URL}/content/repositories/snapshots/</url>
           <releases>
             <enabled>false</enabled>
           </releases>