Changes to support downloading Node from USW1 on Jenkins

This commit is contained in:
Ryan Baxter
2026-01-30 15:02:38 -05:00
parent a09b7a77f8
commit 005086996f
+7
View File
@@ -144,6 +144,7 @@
<generate-readme.phase>prepare-package</generate-readme.phase>
<generate-cloud-resources.phase>generate-resources</generate-cloud-resources.phase>
<central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version>
<node-download-url>https://nodejs.org/dist</node-download-url>
</properties>
<dependencyManagement>
<dependencies>
@@ -1088,6 +1089,12 @@
<configuration>
<!-- TODO: remove when CI upgrades past ubuntu 1804 -->
<nodeVersion>${node.version}</nodeVersion>
<!-- The default value for node-download-url is set in the properties of this POM -->
<!-- This can be overriden in the Maven settings.xml or via the command line -->
<!-- On Jenkins we override this property in Maven settings.xml to point to USW1 to download Node -->
<!-- When pointing to USW1 we use the serverId spring-commercial-release in settings.xml to authenticate with USW1 -->
<nodeDownloadUrl>${node-download-url}</nodeDownloadUrl>
<nodeDownloadServerId>spring-commercial-release</nodeDownloadServerId>
<options>
<option>--to-dir=target/antora/site</option>
<option>--stacktrace</option>