diff --git a/Jenkinsfile b/Jenkinsfile index 94c89a8c5d2..6e2df2e9a14 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,7 +22,7 @@ pipeline { steps { container('cdt') { timeout(activity: true, time: 30) { - withEnv(['MAVEN_OPTS=-XX:MaxRAMPercentage=60.0']) { + withEnv(['MAVEN_OPTS=-XX:MaxRAMPercentage=85.0 -XX:+PrintFlagsFinal']) { sh 'MVN="/jipp/tools/apache-maven/latest/bin/mvn -Dmaven.repo.local=/home/jenkins/.m2/repository \ --settings /home/jenkins/.m2/settings.xml" ./releng/scripts/check_code_cleanliness_only.sh' } @@ -34,7 +34,7 @@ pipeline { steps { container('cdt') { timeout(activity: true, time: 20) { - withEnv(['MAVEN_OPTS=-XX:MaxRAMPercentage=60.0']) { + withEnv(['MAVEN_OPTS=-XX:MaxRAMPercentage=85.0 -XX:+PrintFlagsFinal']) { withCredentials([string(credentialsId: 'gpg-passphrase', variable: 'KEYRING_PASSPHRASE')]) { sh '''/jipp/tools/apache-maven/latest/bin/mvn \ clean verify -B -V \