You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2022/09/27 09:47:35 UTC

[lucene] branch branch_9_4 updated: Let smoketester initialize local settings before running any checks (like Github CI or Jenkins). (#11826)

This is an automated email from the ASF dual-hosted git repository.

uschindler pushed a commit to branch branch_9_4
in repository https://gitbox.apache.org/repos/asf/lucene.git


The following commit(s) were added to refs/heads/branch_9_4 by this push:
     new d2e22e18c6c Let smoketester initialize local settings before running any checks (like Github CI or Jenkins). (#11826)
d2e22e18c6c is described below

commit d2e22e18c6c92b6a6ba0bbc26d78b5e82832f956
Author: Uwe Schindler <us...@apache.org>
AuthorDate: Tue Sep 27 11:21:20 2022 +0200

    Let smoketester initialize local settings before running any checks (like Github CI or Jenkins). (#11826)
---
 dev-tools/scripts/smokeTestRelease.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-tools/scripts/smokeTestRelease.py b/dev-tools/scripts/smokeTestRelease.py
index 06895c9ad7e..be502948fdd 100755
--- a/dev-tools/scripts/smokeTestRelease.py
+++ b/dev-tools/scripts/smokeTestRelease.py
@@ -609,6 +609,9 @@ def verifyUnpacked(java, artifact, unpackPath, gitRevision, version, testArgs):
         print('      %s' % line.strip())
       raise RuntimeError('source release has WARs...')
 
+    print('    initialize local settings for Gradle...')
+    java.run_java11('./gradlew --no-daemon localSettings', '%s/localsettings.log' % unpackPath)
+
     validateCmd = './gradlew --no-daemon check -p lucene/documentation'
     print('    run "%s"' % validateCmd)
     java.run_java11(validateCmd, '%s/validate.log' % unpackPath)