From 07f5cdea85b44b50335e526c1a329985d89f565b Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Mon, 3 Dec 2018 11:26:09 +0800 Subject: [PATCH] 20140144: Job [Deploy_HRB_Resource_Server_Prod] configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by ·¨¼y°ó --- jobs/Deploy_HRB_Resource_Server_Prod/config.xml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/jobs/Deploy_HRB_Resource_Server_Prod/config.xml b/jobs/Deploy_HRB_Resource_Server_Prod/config.xml index 82ad9491..97d5233b 100644 --- a/jobs/Deploy_HRB_Resource_Server_Prod/config.xml +++ b/jobs/Deploy_HRB_Resource_Server_Prod/config.xml @@ -33,7 +33,7 @@ hotfix/1.15.1GA 2 - https://cm.ylhealth.org/gitlab/ym/HRB_Authorization_Server.git + https://cm.ylhealth.org/gitlab/ym/HRB_Resource_Server.git 3485e854-8389-40e8-8c86-b94e94e91904 @@ -133,14 +133,13 @@ for /f "skip=1 tokens=1-6 delims= " %%a in ('wmic path Win32_Loca ) for /f "tokens=*" %%i in ('git rev-parse --short HEAD') do set VAR=%%i_%FormattedDate% for /F "delims=/ tokens=3" %%i in ("%GIT_BRANCH%") do set version=%%i - -sed -i "s/<head.*/<head version=\"%version%_%VAR%\"\/>/" src/main/webapp/WEB-INF/jsp/login/login.jsp + - ssh -i F:/jenkins/id_rsa ymadmin@10.36.220.162 "rm -f /opt/HRB_oAuth/authservice-pack.zip" -scp -i F:/jenkins/id_rsa target/authservice-pack.zip ymadmin@10.36.220.162:/opt/HRB_oAuth/ + ssh -i F:/jenkins/id_rsa ymadmin@10.36.220.162 "rm -f /opt/HRBResourceServer/resource_server-pack.zip" +scp -i F:/jenkins/id_rsa target/resource_server-pack.zip ymadmin@10.36.220.162:/opt/HRBResourceServer/ -- 2.26.2