Skip to content

Commit 346d7a0

Browse files
committed
Increase XMX for Quarkus build
1 parent d8c9f9d commit 346d7a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/quarkus.Jenkinsfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ pipeline {
3939
sh "git clone -b 3.8 --single-branch https://github.com/quarkusio/quarkus.git . || git reset --hard && git clean -fx && git pull"
4040
sh "sed -i 's@<hibernate-orm.version>.*</hibernate-orm.version>@<hibernate-orm.version>${env.HIBERNATE_VERSION}</hibernate-orm.version>@' bom/application/pom.xml"
4141
// Need to override the default maven configuration this way, because there is no other way to do it
42-
sh "sed -i 's/-Xmx5g/-Xmx1920m/' ./.mvn/jvm.config"
42+
sh "sed -i 's/-Xmx5g/-Xmx2048m/' ./.mvn/jvm.config"
4343
sh "echo -e '\\n-XX:MaxMetaspaceSize=768m'>>./.mvn/jvm.config"
4444
sh "./mvnw -pl !docs -Dquickly install"
4545
// Need to kill the gradle daemons started during the Maven install run
4646
sh "sudo pkill -f '.*GradleDaemon.*' || true"
4747
// Need to override the default maven configuration this way, because there is no other way to do it
48-
sh "sed -i 's/-Xmx1920m/-Xmx1340m/' ./.mvn/jvm.config"
48+
sh "sed -i 's/-Xmx2048m/-Xmx1340m/' ./.mvn/jvm.config"
4949
sh "sed -i 's/MaxMetaspaceSize=768m/MaxMetaspaceSize=512m/' ./.mvn/jvm.config"
5050
def excludes = "'!integration-tests/kafka-oauth-keycloak,!integration-tests/kafka-sasl-elytron,!integration-tests/hibernate-search-orm-opensearch,!integration-tests/maven,!integration-tests/quartz,!integration-tests/reactive-messaging-kafka,!integration-tests/resteasy-reactive-kotlin/standard,!integration-tests/opentelemetry-reactive-messaging,!integration-tests/virtual-threads/kafka-virtual-threads,!integration-tests/smallrye-jwt-oidc-webapp,!docs'"
5151
sh "TESTCONTAINERS_RYUK_CONTAINER_PRIVILEGED=true ./mvnw -pl :quarkus-hibernate-orm -amd -pl ${excludes} verify -Dstart-containers -Dtest-containers -Dskip.gradle.build"

0 commit comments

Comments
 (0)