Skip to content

Commit dd6a5b0

Browse files
committed
Merge branch 'use-usw1-to-download-node'
2 parents 0f027de + d7ceaa8 commit dd6a5b0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@
147147
<generate-readme.phase>prepare-package</generate-readme.phase>
148148
<generate-cloud-resources.phase>generate-resources</generate-cloud-resources.phase>
149149
<central-publishing-maven-plugin.version>0.9.0</central-publishing-maven-plugin.version>
150+
<node-download-url>https://nodejs.org/dist</node-download-url>
150151
</properties>
151152
<dependencyManagement>
152153
<dependencies>
@@ -1180,6 +1181,12 @@
11801181
<configuration>
11811182
<!-- TODO: remove when CI upgrades past ubuntu 1804 -->
11821183
<nodeVersion>${node.version}</nodeVersion>
1184+
<!-- The default value for node-download-url is set in the properties of this POM -->
1185+
<!-- This can be overriden in the Maven settings.xml or via the command line -->
1186+
<!-- On Jenkins we override this property in Maven settings.xml to point to USW1 to download Node -->
1187+
<!-- When pointing to USW1 we use the serverId spring-commercial-release in settings.xml to authenticate with USW1 -->
1188+
<nodeDownloadUrl>${node-download-url}</nodeDownloadUrl>
1189+
<nodeDownloadServerId>spring-commercial-release</nodeDownloadServerId>
11831190
<options>
11841191
<option>--to-dir=target/antora/site</option>
11851192
<option>--stacktrace</option>

0 commit comments

Comments
 (0)