Balance heap space between maven and surefire (#1195)
This commit is contained in:
parent
aa8cb39580
commit
1300acd867
|
@ -90,7 +90,7 @@ steps:
|
||||||
jdkVersionOption: '1.11'
|
jdkVersionOption: '1.11'
|
||||||
jdkArchitectureOption: 'x64'
|
jdkArchitectureOption: 'x64'
|
||||||
options: '--settings $(System.DefaultWorkingDirectory)/settings.xml -pl "!org.hl7.fhir.report, !org.hl7.fhir.validation.cli" -DdeployToSonatype'
|
options: '--settings $(System.DefaultWorkingDirectory)/settings.xml -pl "!org.hl7.fhir.report, !org.hl7.fhir.validation.cli" -DdeployToSonatype'
|
||||||
mavenOptions: '-Xmx4096m'
|
mavenOptions: '-Xmx768m'
|
||||||
publishJUnitResults: false
|
publishJUnitResults: false
|
||||||
|
|
||||||
# Deploy the SNAPSHOT artifact to GitHub packages.
|
# Deploy the SNAPSHOT artifact to GitHub packages.
|
||||||
|
@ -104,5 +104,5 @@ steps:
|
||||||
jdkVersionOption: '1.11'
|
jdkVersionOption: '1.11'
|
||||||
jdkArchitectureOption: 'x64'
|
jdkArchitectureOption: 'x64'
|
||||||
options: '--settings $(System.DefaultWorkingDirectory)/settings.xml -pl "!org.hl7.fhir.report, !org.hl7.fhir.validation.cli" -Dmaven.test.skip -DdeployToGitHub'
|
options: '--settings $(System.DefaultWorkingDirectory)/settings.xml -pl "!org.hl7.fhir.report, !org.hl7.fhir.validation.cli" -Dmaven.test.skip -DdeployToGitHub'
|
||||||
mavenOptions: '-Xmx4096m'
|
mavenOptions: '-Xmx768m'
|
||||||
publishJUnitResults: false
|
publishJUnitResults: false
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -453,7 +453,7 @@
|
||||||
<!-- We need to include the ${argLine} here so the Jacoco test arguments are included in the
|
<!-- We need to include the ${argLine} here so the Jacoco test arguments are included in the
|
||||||
Surefire testing run. This may appear as an error in some IDEs, but it will run regardless.
|
Surefire testing run. This may appear as an error in some IDEs, but it will run regardless.
|
||||||
-->
|
-->
|
||||||
<argLine>${argLine} -Xmx4096m</argLine>
|
<argLine>${argLine} -Xmx5632m</argLine>
|
||||||
<systemPropertyVariables>
|
<systemPropertyVariables>
|
||||||
<java.locale.providers>COMPAT</java.locale.providers>
|
<java.locale.providers>COMPAT</java.locale.providers>
|
||||||
</systemPropertyVariables>
|
</systemPropertyVariables>
|
||||||
|
|
|
@ -24,7 +24,7 @@ jobs:
|
||||||
inputs:
|
inputs:
|
||||||
mavenPomFile: 'pom.xml'
|
mavenPomFile: 'pom.xml'
|
||||||
options: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)'
|
options: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)'
|
||||||
mavenOptions: '-Xmx4096m'
|
mavenOptions: '-Xmx768m'
|
||||||
javaHomeOption: 'JDKVersion'
|
javaHomeOption: 'JDKVersion'
|
||||||
jdkVersionOption: '${{image.jdkVersion}}'
|
jdkVersionOption: '${{image.jdkVersion}}'
|
||||||
jdkArchitectureOption: 'x64'
|
jdkArchitectureOption: 'x64'
|
||||||
|
@ -35,7 +35,7 @@ jobs:
|
||||||
- task: Maven@3
|
- task: Maven@3
|
||||||
inputs:
|
inputs:
|
||||||
mavenPomFile: 'pom.xml'
|
mavenPomFile: 'pom.xml'
|
||||||
mavenOptions: '-Xmx4096m'
|
mavenOptions: '-Xmx768m'
|
||||||
javaHomeOption: 'JDKVersion'
|
javaHomeOption: 'JDKVersion'
|
||||||
jdkVersionOption: '${{image.jdkVersion}}'
|
jdkVersionOption: '${{image.jdkVersion}}'
|
||||||
jdkArchitectureOption: 'x64'
|
jdkArchitectureOption: 'x64'
|
||||||
|
|
|
@ -29,7 +29,7 @@ jobs:
|
||||||
inputs:
|
inputs:
|
||||||
mavenPomFile: 'pom.xml'
|
mavenPomFile: 'pom.xml'
|
||||||
options: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)'
|
options: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)'
|
||||||
mavenOptions: '-Xmx3072m'
|
mavenOptions: '-Xmx768m'
|
||||||
javaHomeOption: 'JDKVersion'
|
javaHomeOption: 'JDKVersion'
|
||||||
jdkVersionOption: '1.11'
|
jdkVersionOption: '1.11'
|
||||||
jdkArchitectureOption: 'x64'
|
jdkArchitectureOption: 'x64'
|
||||||
|
|
|
@ -127,7 +127,7 @@ jobs:
|
||||||
- task: Maven@3
|
- task: Maven@3
|
||||||
inputs:
|
inputs:
|
||||||
mavenPomFile: 'pom.xml'
|
mavenPomFile: 'pom.xml'
|
||||||
mavenOptions: '-Xmx4096m'
|
mavenOptions: '-Xmx768m'
|
||||||
javaHomeOption: 'JDKVersion'
|
javaHomeOption: 'JDKVersion'
|
||||||
jdkVersionOption: '1.11'
|
jdkVersionOption: '1.11'
|
||||||
jdkArchitectureOption: 'x64'
|
jdkArchitectureOption: 'x64'
|
||||||
|
|
Loading…
Reference in New Issue