From da4d50323b77fccac3ac598d9bc3e98b123dfe24 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Sat, 9 Nov 2019 11:41:49 +0800 Subject: [PATCH] 20180083: Job [Deploy_Hi365_Backend_SIT] configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by §õº~? --- jobs/Deploy_Hi365_Backend_SIT/config.xml | 112 +++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 jobs/Deploy_Hi365_Backend_SIT/config.xml diff --git a/jobs/Deploy_Hi365_Backend_SIT/config.xml b/jobs/Deploy_Hi365_Backend_SIT/config.xml new file mode 100644 index 00000000..ef75c323 --- /dev/null +++ b/jobs/Deploy_Hi365_Backend_SIT/config.xml @@ -0,0 +1,112 @@ + + + + + false + + + + + + + -1 + 5 + -1 + -1 + + + + ylhealth + + + + + Version_Number + 請輸入SIT發版版號。範例 V0.0.8 + V0.0.0 + false + + + + + + 2 + + + https://cm.ylhealth.org/gitlab/YongYue/hi365-backend.git + 3485e854-8389-40e8-8c86-b94e94e91904 + + + + + develop + + + false + + + + HI365_SIT_10.57.105.27 + false + false + false + false + + false + + + #切換目錄到Hi365 +cd Hi365 + +#相依性套件下載 +yarn install + +#build 程式碼 +ng build + +#移除目錄 +sudo rm -rf /var/www/Hi365 + +#把建置好的結果放到apache下 +sudo cp -R ${WORKSPACE}/Hi365 /var/www + +#重新啟動Apache +sudo systemctl restart httpd.service + +#列印版本資訊 +#cd /var/www/Hi365/dist +#sudo echo $Version_Number >> version.html + + + + + + + + + NotifyMessage=Deploy Hi365 on SIT(10.57.105.27) done. + false + + + Notify_Group + SUCCESS + false + false + + + + + $PreSale_Group + false + false + + + + + false + + + false + + + \ No newline at end of file -- 2.26.2