From f5486d13e6f440a7296c23f45cd53f0313e83e0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=B8ydahl?= Date: Tue, 19 Oct 2021 19:48:44 +0200 Subject: [PATCH] LUCENE-10174 BuildAndPushRelease additional improvements (#396) --- dev-tools/scripts/buildAndPushRelease.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-tools/scripts/buildAndPushRelease.py b/dev-tools/scripts/buildAndPushRelease.py index 8cb0da07a91..6239bc753b6 100755 --- a/dev-tools/scripts/buildAndPushRelease.py +++ b/dev-tools/scripts/buildAndPushRelease.py @@ -121,18 +121,18 @@ def prepare(root, version, gpg_key_id, gpg_password, gpg_home=None, sign_gradle= checkDOAPfiles(version) if not dev_mode: - print(' ./gradlew -Dtests.badapples=false clean check') - run('./gradlew -Dtests.badapples=false clean check') + print(' ./gradlew --no-daemon -Dtests.badapples=false clean check') + run('./gradlew --no-daemon -Dtests.badapples=false clean check') else: print(' skipping precommit check due to dev-mode') print(' prepare-release') - cmd = './gradlew clean assembleRelease' \ + cmd = './gradlew --no-daemon assembleRelease' \ ' -Dversion.release=%s' % version if dev_mode: cmd += ' -Pvalidation.git.failOnModified=false' if gpg_key_id is not None: - cmd += ' -Psign' + cmd += ' -Psign --max-workers 2' if sign_gradle: print(" Signing method is gradle java-plugin") cmd += ' -Psigning.keyId="%s"' % gpg_key_id