From a99f9560766cb2e62e94f09f463cdff37265498d Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Tue, 15 Oct 2019 11:39:06 +0800 Subject: [PATCH] 20180083: Job [Hi365_OAuth_Client_SIT_Deploy] configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by ยงรตยบ~? --- jobs/Hi365_OAuth_Client_SIT_Deploy/config.xml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/jobs/Hi365_OAuth_Client_SIT_Deploy/config.xml b/jobs/Hi365_OAuth_Client_SIT_Deploy/config.xml index a4a3d2d4..c07908dc 100644 --- a/jobs/Hi365_OAuth_Client_SIT_Deploy/config.xml +++ b/jobs/Hi365_OAuth_Client_SIT_Deploy/config.xml @@ -75,7 +75,7 @@ - PreSale_SIT_172.16.40.163 + HI365_SIT_10.57.105.27 false false false @@ -123,12 +123,10 @@ version=$(echo $GIT_BRANCH | cut -d'/' -f 3) - systemctl stop Hi365Client - -rm -f /opt/Hi365ClientServer/lib/*.jar -/usr/bin/unzip -j -o target/Client-Server-pack.zip "Client-Server/lib/*" -d /opt/Hi365ClientServer/lib - -systemctl start Hi365Client + sudo systemctl stop Hi365Client +sudo rm -f /opt/Hi365ClientServer/lib/*.jar +sudo /usr/bin/unzip -j -o target/Client-Server-pack.zip "Client-Server/lib/*" -d /opt/Hi365ClientServer/lib +sudo systemctl start Hi365Client -- 2.26.2