Skip to content

Commit 31e8561

Browse files
committed
Increase Maven heap for release builds
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: bca275c0-abb4-4883-b495-ac789cd61db6
1 parent d81e74b commit 31e8561

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.azure-pipelines/ci-build.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ extends:
121121
javaHomeOption: 'JDKVersion'
122122
jdkVersionOption: '1.21'
123123
jdkArchitectureOption: 'x64'
124+
mavenOptions: '-Xmx3072m'
124125

125126
- task: Maven@4
126127
displayName: Publish to local Maven for verification
@@ -133,6 +134,7 @@ extends:
133134
javaHomeOption: 'JDKVersion'
134135
jdkVersionOption: '1.21'
135136
jdkArchitectureOption: 'x64'
137+
mavenOptions: '-Xmx3072m'
136138

137139
- task: Maven@4
138140
displayName: Stage artifacts for ESRP
@@ -145,6 +147,7 @@ extends:
145147
javaHomeOption: 'JDKVersion'
146148
jdkVersionOption: '1.21'
147149
jdkArchitectureOption: 'x64'
150+
mavenOptions: '-Xmx3072m'
148151

149152
- task: Maven@4
150153
displayName: Stage artifacts for ESRP
@@ -157,6 +160,7 @@ extends:
157160
javaHomeOption: 'JDKVersion'
158161
jdkVersionOption: '1.21'
159162
jdkArchitectureOption: 'x64'
163+
mavenOptions: '-Xmx3072m'
160164

161165
- pwsh: |
162166
$pomXml = [xml](Get-Content pom.xml -Raw)

0 commit comments

Comments
 (0)