Run mvnw verify instead of test in stop hook to include SpotBugs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-08 12:05:09 +01:00
parent e248a2ee06
commit d9136481d8

View File

@@ -26,7 +26,7 @@ PASSED=""
# Run backend tests if Java sources changed
if [[ -n "$HAS_BACKEND" ]]; then
if OUTPUT=$(cd backend && ./mvnw test -q 2>&1); then
if OUTPUT=$(cd backend && ./mvnw verify -q 2>&1); then
PASSED+="✓ Backend tests passed. "
else
# Filter: only [ERROR] lines, skip Maven boilerplate