From d7b72cfa2a39059befbbc0d1e7e4d1ee4cc73930 Mon Sep 17 00:00:00 2001 From: Christian Beikov Date: Mon, 8 Jan 2024 18:48:39 +0100 Subject: [PATCH] Exclude docs from Quarkus build --- ci/quarkus.Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/quarkus.Jenkinsfile b/ci/quarkus.Jenkinsfile index ae7abb549d..45cda43ddf 100644 --- a/ci/quarkus.Jenkinsfile +++ b/ci/quarkus.Jenkinsfile @@ -41,9 +41,9 @@ pipeline { // Need to override the default maven configuration this way, because there is no other way to do it sh "sed -i 's/-Xmx5g/-Xmx1920m/' ./.mvn/jvm.config" sh "echo -e '\\n-XX:MaxMetaspaceSize=768m'>>./.mvn/jvm.config" - sh "./mvnw -Dquickly install" + sh "./mvnw -pl !docs -Dquickly install" // Need to kill the gradle daemons started during the Maven install run - sh "pkill -f '.*GradleDaemon.*' || true" + sh "sudo pkill -f '.*GradleDaemon.*' || true" // Need to override the default maven configuration this way, because there is no other way to do it sh "sed -i 's/-Xmx1920m/-Xmx1372m/' ./.mvn/jvm.config" sh "sed -i 's/MaxMetaspaceSize=768m/MaxMetaspaceSize=512m/' ./.mvn/jvm.config"