You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ja...@apache.org on 2026/03/26 14:35:18 UTC

(solr) branch main updated: Add clean to cherrypick.sh before runnign (precommit) check (#4238)

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

janhoy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new ec51d13bc14 Add clean to cherrypick.sh before runnign (precommit) check (#4238)
ec51d13bc14 is described below

commit ec51d13bc14821ac13041c7461abe66fc12b5483
Author: Jan Høydahl <ja...@apache.org>
AuthorDate: Thu Mar 26 15:35:10 2026 +0100

    Add clean to cherrypick.sh before runnign (precommit) check (#4238)
---
 dev-tools/scripts/cherrypick.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-tools/scripts/cherrypick.sh b/dev-tools/scripts/cherrypick.sh
index 692c2cc12f6..0696d8cbd8a 100755
--- a/dev-tools/scripts/cherrypick.sh
+++ b/dev-tools/scripts/cherrypick.sh
@@ -181,7 +181,7 @@ for BRANCH in "${BRANCHES[@]}"; do
   if [[ "$PRECOMMIT" ]] || [[ "$TEST" ]]; then
     LOG "INFO" "Testing the cherry-pick on $BRANCH by running 'gradlew check ${TESTARG}'"
     # shellcheck disable=SC2086
-    ./gradlew check -q $TESTARG -Pvalidation.errorprone=true
+    ./gradlew clean check -q $TESTARG -Pvalidation.errorprone=true
     if [ $? -gt 0 ]; then
       LOG "WARN" "Tests failed. Please fix and push manually"
       exit 2