mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-18 13:45:45 +02:00
Print the memory allocated to maven on Jenkins and increase the memory available.
This commit is contained in:
parent
7f25a3a110
commit
81893a08a9
1 changed files with 2 additions and 2 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -22,7 +22,7 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
container('cdt') {
|
container('cdt') {
|
||||||
timeout(activity: true, time: 30) {
|
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 \
|
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'
|
--settings /home/jenkins/.m2/settings.xml" ./releng/scripts/check_code_cleanliness_only.sh'
|
||||||
}
|
}
|
||||||
|
@ -34,7 +34,7 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
container('cdt') {
|
container('cdt') {
|
||||||
timeout(activity: true, time: 20) {
|
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')]) {
|
withCredentials([string(credentialsId: 'gpg-passphrase', variable: 'KEYRING_PASSPHRASE')]) {
|
||||||
sh '''/jipp/tools/apache-maven/latest/bin/mvn \
|
sh '''/jipp/tools/apache-maven/latest/bin/mvn \
|
||||||
clean verify -B -V \
|
clean verify -B -V \
|
||||||
|
|
Loading…
Add table
Reference in a new issue