-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild-test.bat
More file actions
27 lines (24 loc) · 826 Bytes
/
Copy pathbuild-test.bat
File metadata and controls
27 lines (24 loc) · 826 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
@echo off
setlocal
echo ==============================================================================
echo [1/2] Root install (Parent-POM + Struts2 JUnit 5 Plugin to local repository)
echo ==============================================================================
call mvnw.cmd clean install
if %ERRORLEVEL% neq 0 (
echo.
echo [FAILED] mvnw clean install failed. Aborting.
exit /b %ERRORLEVEL%
)
echo.
echo ============================================================
echo [2/2] Full test suite (struts2-study-parent)
echo ============================================================
call mvnw.cmd clean test -f struts2-study-parent/pom.xml
if %ERRORLEVEL% neq 0 (
echo.
echo [FAILED] Tests failed.
exit /b %ERRORLEVEL%
)
echo.
echo [SUCCESS] Build and tests completed successfully.
endlocal