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

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


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

commit 2e48e4fee574b720c3dc30828eea508576e348ea
Author: Jan Høydahl <[email protected]>
AuthorDate: Thu Mar 26 15:35:10 2026 +0100

    Add clean to cherrypick.sh before runnign (precommit) check (#4238)
    
    (cherry picked from commit ec51d13bc14821ac13041c7461abe66fc12b5483)
---
 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

Reply via email to