-
Notifications
You must be signed in to change notification settings - Fork 5
/
build-and-test-all.bat
33 lines (28 loc) · 1.42 KB
/
build-and-test-all.bat
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
28
29
30
31
32
33
@echo off
echo ------------------------------------------
echo BUILDING (CORE, RUNTIME, GRADLE-PLUGIN)...
echo ------------------------------------------
cmd /c "gradlew.bat" clean publishtoMavenLocal --no-daemon || exit /b %ERRORLEVEL%;
cmd /c "gradlew.bat" test --no-daemon || exit /b %ERRORLEVEL%;
echo ------------------------------------------
echo BUILDING PLUGIN (MAVEN)...
echo ------------------------------------------
cd maven-plugin
cmd /c "maven.bat" clean install || exit /b %ERRORLEVEL%;
echo ------------------------------------------
echo TESTING (1/1, GRADLE)...
echo ------------------------------------------
cd ..\test-suite
@REM cmd /c "gradlew.bat" clean test --stacktrace --no-daemon --warning-mode all || exit /b %ERRORLEVEL%;
cmd /c "gradlew.bat" clean test --stacktrace --no-daemon || exit /b %ERRORLEVEL%;
@REM echo ------------------------------------------
@REM echo TESTING (2/2, MAVEN)...
@REM echo ------------------------------------------
@REM cmd /c "maven.bat" test || exit /b %ERRORLEVEL%;
echo ------------------------------------------
echo BUILDING AND TESTING JACKSON MODULE
echo ------------------------------------------
cd ..\jackson
@REM cmd /c "gradlew.bat" clean test --stacktrace --no-daemon --warning-mode all || exit /b %ERRORLEVEL%;
cmd /c "gradlew.bat" clean publishtoMavenLocal --no-daemon || exit /b %ERRORLEVEL%;
cmd /c "gradlew.bat" clean test --stacktrace --no-daemon || exit /b %ERRORLEVEL%;