mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +02:00
Allocate much more ram to the Pod on Jenkins
I think with some of the recent changes (Tycho 4, API baselines, maybe even new dependency on Platform M3) it may be that our memory requirements have gone up substantially for the build. Also, with Sonar in the works that also requires more memory. Therefore see if the EF's JIPP infra will allocate 10G of ram to our build. This should fix all the "Killed" messages randomly in the CDT builds. https://wiki.eclipse.org/Jenkins#What_is_killing_my_build.3F_I.27m_using_custom_containers.21
This commit is contained in:
parent
3240494e23
commit
3429dcf1a2
2 changed files with 4 additions and 4 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue