Skip to content

Commit 50f2925

Browse files
committed
Different Xmx opts for Jenkins / GitHub actions
See #1809.
1 parent 314de9b commit 50f2925

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
pull_request:
1010
branches: [ master ]
1111

12+
env:
13+
MAVEN_OPTS: '-Xmx3000m'
14+
1215
jobs:
1316
build:
1417
uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/workflows/mavenBuild.yml@master

.mvn/jvm.config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
-XX:+PrintFlagsFinal
2-
-Xmx3000m

Jenkinsfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ pipeline {
1111
maven 'apache-maven-latest'
1212
jdk 'temurin-jdk21-latest'
1313
}
14+
environment {
15+
MAVEN_OPTS = '-Xmx1500m'
16+
}
1417
stages {
1518
stage('Build') {
1619
steps {

0 commit comments

Comments
 (0)