Skip to content

Commit ec51d13

Browse files
authored
Add clean to cherrypick.sh before runnign (precommit) check (#4238)
1 parent 6d896e0 commit ec51d13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dev-tools/scripts/cherrypick.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ for BRANCH in "${BRANCHES[@]}"; do
181181
if [[ "$PRECOMMIT" ]] || [[ "$TEST" ]]; then
182182
LOG "INFO" "Testing the cherry-pick on $BRANCH by running 'gradlew check ${TESTARG}'"
183183
# shellcheck disable=SC2086
184-
./gradlew check -q $TESTARG -Pvalidation.errorprone=true
184+
./gradlew clean check -q $TESTARG -Pvalidation.errorprone=true
185185
if [ $? -gt 0 ]; then
186186
LOG "WARN" "Tests failed. Please fix and push manually"
187187
exit 2

0 commit comments

Comments
 (0)