diff --git a/jobs/Deploy_HRB_SIT_132_TEST_TEST_TEST/config.xml b/jobs/Deploy_HRB_SIT_132_TEST_TEST_TEST/config.xml
index 2903a11de3d6a8bf4865c817b3ec4f6c148447c0..60c882e55ae6de9fd95a00de3efb8020f4ff406e 100644
--- a/jobs/Deploy_HRB_SIT_132_TEST_TEST_TEST/config.xml
+++ b/jobs/Deploy_HRB_SIT_132_TEST_TEST_TEST/config.xml
@@ -33,7 +33,7 @@
- SIT_132
+ "SonarQube Server"
false
false
false
@@ -44,7 +44,7 @@
org.ylhealth.ym.hrb.backend
HRB
- clean package cobertura:cobertura
+ clean clean cobertura:cobertura org.jacoco:jacoco-maven-plugin:prepare-agent install -Dmaven.test.failure.ignore=false
spring-boot:run
true
false
@@ -70,36 +70,12 @@
-
-
- REM 取得今天的年、月、日 (自動補零)
-SETLOCAL EnableDelayedExpansion
-
-for /f "skip=1 tokens=1-6 delims= " %%a in ('wmic path Win32_LocalTime Get Day^,Hour^,Minute^,Month^,Second^,Year /Format:table') do (
- IF NOT "%%~f"=="" (
- set /a FormattedDate=10000 * %%f + 100 * %%d + %%a
- set FormattedDate=%%f!FormattedDate:~-4,2!!FormattedDate:~-2,2!_%%b:%%c
- )
-)
-for /f "tokens=*" %%i in ('git rev-parse --short HEAD') do set VAR=%%i_%FormattedDate%
-"C:\Program Files\Git\usr\bin\sed" -i "s/<base.*/<base href=\"\/\" version=\"v%VAR%\"\/>/" src\main\resources\static\index.html
-"C:\Program Files\Git\usr\bin\sed" -i "s/<base.*/<base href=\"\/\" version=\"v%VAR%\"\/>/" src\main\resources\static\login.html
-
-
-
-
- set target=C:\Deploy\HRB
-net stop HRB
-FOR /F "tokens=5 delims= " %%P IN ('netstat -a -n -o ^| findstr :50501 ^| findstr LISTEN') DO TaskKill.exe /F /PID %%P
-del %target%\lib\*.* /q
-"C:\Program Files\7-Zip\7z.exe" e target\HRB-pack.zip -o%target%\lib HRB\lib\*.* -r
-net start HRB
-
-
+
+
- SUCCESS
- 0
- BLUE
+ FAILURE
+ 2
+ RED
true
\ No newline at end of file