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

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


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

commit 3d38eb91d04257e52b5cb9d6dfe1491d1b539a20
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 a1ad6ac6041..ba8bd855b10 100755
--- a/dev-tools/scripts/cherrypick.sh
+++ b/dev-tools/scripts/cherrypick.sh
@@ -180,7 +180,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