From e804e861eafbed4b5b82aaaa29d23719af2242b8 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 3 Sep 2024 11:38:09 +1000 Subject: [PATCH] deployAtEnd and a bit more memory for Maven process Signed-off-by: Olivier Lamy --- build/scripts/release-jetty.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/scripts/release-jetty.sh b/build/scripts/release-jetty.sh index 1453a194415a..7b1e34dde03f 100755 --- a/build/scripts/release-jetty.sh +++ b/build/scripts/release-jetty.sh @@ -88,11 +88,11 @@ if [ ! -d "$ALT_DEPLOY_DIR" ] ; then fi # DEPLOY_OPTS="-Dmaven.test.failure.ignore=true" -DEPLOY_OPTS="-DskipTests -Dasciidoctor.skip=false -Dmaven.build.cache.enabled=false" +DEPLOY_OPTS="-DskipTests -Dasciidoctor.skip=false -Dmaven.build.cache.enabled=false -DdeployAtEnd=true -DretryFailedDeploymentCount=3 " # DEPLOY_OPTS="$DEPLOY_OPTS -DaltDeploymentRepository=intarget::default::file://$ALT_DEPLOY_DIR/" # Uncomment for Java 1.7 -export MAVEN_OPTS="-Xmx4g" +export MAVEN_OPTS="-Xmx8g -Xms8g -client" echo "" echo "-----------------------------------------------"