diff --git a/jobs/Deploy_Hi365_Questionnaire_UAT/config.xml b/jobs/Deploy_Hi365_Questionnaire_UAT/config.xml index b38c8ec37399023903d3a51d298d9dd40389e306..35c2486222a96987b6c8963c1189f3f9edad9c3e 100644 --- a/jobs/Deploy_Hi365_Questionnaire_UAT/config.xml +++ b/jobs/Deploy_Hi365_Questionnaire_UAT/config.xml @@ -4,19 +4,6 @@ false - - ylhealth - - - - - GIT_BRANCH - - master - false - - - -1 @@ -25,8 +12,11 @@ -1 + + ylhealth + - + 2 @@ -36,7 +26,7 @@ - */${GIT_BRANCH} + master false @@ -71,8 +61,32 @@ true - - + + + $PreSale_Group + false + false + true + + + + + + + + + NotifyMessage=Deploy Hi365 Questionnaire on SIT(10.57.105.28) done. + false + + + Notify_Group + SUCCESS + false + false + + + + false @@ -84,8 +98,20 @@ - sudo mv target/designer.war /opt/tomcat/webapps - + #切換目標 +cd target + +#停止服務 +sudo systemctl stop form.service + +#移除原本war檔案 強制刪除, 不會有任何警告 +sudo rm -f /opt/form/designer_boot.war + +#搬移檔案到/opt/form/designer_boot.war +sudo mv designer_boot-0.0.1-SNAPSHOT.war /opt/form/designer_boot.war + +#開啟服務 +sudo systemctl start form.service