From aaa813c8fb99f3a4eb831745bd58119604ba74fe Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Tue, 12 Nov 2019 11:21:15 +0800 Subject: [PATCH] 20180083: Job [Deploy_Hi365_Questionnaire_UAT] configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by §õº~? --- .../Deploy_Hi365_Questionnaire_UAT/config.xml | 64 +++++++++++++------ 1 file changed, 45 insertions(+), 19 deletions(-) diff --git a/jobs/Deploy_Hi365_Questionnaire_UAT/config.xml b/jobs/Deploy_Hi365_Questionnaire_UAT/config.xml index b38c8ec3..35c24862 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 -- 2.26.2