Files
main/deliverables/deploy_sothis.bat
T
2021-03-13 13:48:21 +08:00

24 lines
344 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@echo off
setlocal
set DELIVERABLE="sothis"
set SKIP_TEST=%1
if "%DELIVERABLE%"=="" (
set /p DELIVERABLE=请输入要deploy的deliverable名称:
)
if "%SKIP_TEST%"=="" (
set /p SKIP_TEST=是否跳过测试y/n:
)
pushd .
cd %DELIVERABLE%
if "%SKIP_TEST%"=="y" (
call mvn deploy -Dmaven.test.skip=true
)else (
call mvn deploy
)
popd
pause
endlocal