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.
13 lines
555 B
13 lines
555 B
# 1) crm-auth 单测验证(-am 同 reactor 构建依赖模块,避免陈旧 jar)
|
|
# 2) 全反应厨 clean package -DskipTests
|
|
$env:JAVA_HOME = "C:\Users\luowj\.jdks\jdk-17.0.15"
|
|
Set-Location "d:\code\crm-backend-matt"
|
|
|
|
Write-Output "===== crm-auth tests ====="
|
|
& mvn.cmd -s settings.xml -pl crm-auth -am test
|
|
if ($LASTEXITCODE -ne 0) { Write-Output "TEST FAIL"; exit 1 }
|
|
|
|
Write-Output "===== full package ====="
|
|
& mvn.cmd -s settings.xml clean package -DskipTests
|
|
if ($LASTEXITCODE -ne 0) { Write-Output "PACKAGE FAIL"; exit 1 }
|
|
Write-Output "ALL OK"
|
|
|