diff --git a/jobs/Hi365_HRA_SIT_Deploy/config.xml b/jobs/Hi365_HRA_SIT_Deploy/config.xml
index 35468c2721d04682d481a0b47ad495235092fe38..dfd54c23963d5713214336b9078aa74cab73d853 100644
--- a/jobs/Hi365_HRA_SIT_Deploy/config.xml
+++ b/jobs/Hi365_HRA_SIT_Deploy/config.xml
@@ -58,7 +58,7 @@
2
- https://cm.ylhealth.org/gitlab/YongYue/hi365-api.git
+ https://cm.ylhealth.org/gitlab/YongYue/hi365-hra.git
3485e854-8389-40e8-8c86-b94e94e91904
@@ -82,7 +82,7 @@
com.h2u.hi365.resource
Resource-Server
- clean package -Dmaven.test.skip=true -DskipTests=true
+ clean package -Dmaven.test.skip=true -P !jenkins,prod
spring-boot:run
true
false
@@ -113,7 +113,7 @@
- NotifyMessage=Deploy Hi365 API done on SIT.
+ NotifyMessage=Deploy HRA done on SIT.
false
@@ -137,16 +137,14 @@
VAR=$(git rev-parse --short HEAD)_$(date +"%Y%m%d_%H%M")
version=$(echo $GIT_BRANCH | cut -d'/' -f 3)
-# sed -i "s/<title.*/<title ng-bind='page_title'>CRM v${version}_${VAR}<\/title\/>/" src/main/resources/static/index.html
-# sed -i "s/<title.*/<title ng-bind='page_title'>CRM v${version}_${VAR}<\/title\/>/" src/main/resources/static/indexMinify.html
+sed -i "s/<base.*/<base href=\"\/\" version=\"${version}_${VAR}\"\/>/" WebContent/WEB-INF/jsp/home/home.jsp
- sudo systemctl stop Hi365Resource
-sudo rm -f /opt/Hi365ResourceServer/lib/*.jar
-sudo /usr/bin/unzip -j -o target/Resource-Server-pack.zip "Resource-Server/lib/*" -d /opt/Hi365ResourceServer/lib
-sudo systemctl start Hi365Resource
+ sudo systemctl stop hra.service
+sudo cp target/ylhealth-hra.war /opt/hra/webapps/
+sudo systemctl start hra.service