You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
628 B
15 lines
628 B
@echo off
|
|
rem 票 04:install 依赖链(跳过测试;crm-auth 存量测试破损与本票无关),再单独跑 crm-opportunity 全模块测试
|
|
set "JAVA_HOME=C:\Users\Administrator\.jdks\corretto-17.0.13"
|
|
set "MVN=D:\IntelliJ IDEA 2025.1.3\plugins\maven\lib\maven3\bin\mvn.cmd"
|
|
cd /d e:\code\crm-backend-matt
|
|
echo === STEP1 install deps (skip tests) ===
|
|
call "%MVN%" -pl crm-opportunity -am install -DskipTests -s settings.xml
|
|
if errorlevel 1 goto fail
|
|
echo === STEP2 test crm-opportunity only ===
|
|
call "%MVN%" -pl crm-opportunity test -s settings.xml
|
|
echo EXIT=%ERRORLEVEL%
|
|
goto end
|
|
:fail
|
|
echo EXIT=install-failed
|
|
:end
|
|
|