diff --git a/Jenkinsfile b/Jenkinsfile index 6e2df2e9a14..52eb91c921d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,7 +22,7 @@ pipeline { steps { container('cdt') { timeout(activity: true, time: 30) { - withEnv(['MAVEN_OPTS=-XX:MaxRAMPercentage=85.0 -XX:+PrintFlagsFinal']) { + withEnv(['MAVEN_OPTS=-XX:MaxRAMPercentage=50.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=85.0 -XX:+PrintFlagsFinal']) { + withEnv(['MAVEN_OPTS=-XX:MaxRAMPercentage=50.0 -XX:+PrintFlagsFinal']) { withCredentials([string(credentialsId: 'gpg-passphrase', variable: 'KEYRING_PASSPHRASE')]) { sh '''/jipp/tools/apache-maven/latest/bin/mvn \ clean verify -B -V \ diff --git a/jenkins/pod-templates/cdt-full-pod-plus-eclipse-install.yaml b/jenkins/pod-templates/cdt-full-pod-plus-eclipse-install.yaml index 7728bee973e..f84000f1930 100644 --- a/jenkins/pod-templates/cdt-full-pod-plus-eclipse-install.yaml +++ b/jenkins/pod-templates/cdt-full-pod-plus-eclipse-install.yaml @@ -8,10 +8,10 @@ spec: args: ["/bin/sh", "-c", "/home/vnc/.vnc/xstartup.sh && cat"] resources: requests: - memory: "2662Mi" + memory: "10000Mi" cpu: "1" limits: - memory: "2662Mi" + memory: "10000Mi" cpu: "1" volumeMounts: - name: settings-xml