Skip to content

Commit 64136ca

Browse files
committed
Set Xmx option only for Jenkins CI
Let GitHub-actions-based workflows use the default. See #1809.
1 parent d9c47ed commit 64136ca

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.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)