From 5d90106ff6546d18e82b4daecbc2c4cdadcaeb42 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Thu, 14 Mar 2019 18:01:51 +0800 Subject: [PATCH] 20140144: Job [Deploy_CHM_Prod] configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by ·¨¼y°ó --- jobs/Deploy_CHM_Prod/config.xml | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/jobs/Deploy_CHM_Prod/config.xml b/jobs/Deploy_CHM_Prod/config.xml index d1b13bdb..2e6b57c2 100644 --- a/jobs/Deploy_CHM_Prod/config.xml +++ b/jobs/Deploy_CHM_Prod/config.xml @@ -1,10 +1,10 @@ - + false - + ylhealth @@ -29,7 +29,7 @@ hotfix/1.15.1GA - + 2 @@ -83,11 +83,11 @@ hotfix/1.15.1GA - + - + false false @@ -104,19 +104,24 @@ hotfix/1.15.1GA NONE false + + + + + - + false false - + xterm - + @@ -133,10 +138,11 @@ 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 +for /f %%a in ('git describe --tags') do set "tags=%%a" echo Version:%VAR% -sed -i "s/<title.*/<title ng-bind='page_title'>CRM %version%_%VAR%<\/title\/>/" src\main\resources\static\index.html -sed -i "s/<base.*/<base href=\"\/CRM\/\" version=\"%version%_%VAR%\"\/>/" src\main\resources\static\indexMinify.html +sed -i "s/<title.*/<title ng-bind='page_title'>CRM %tags%_%version%_%VAR%<\/title\/>/" src\main\resources\static\index.html +sed -i "s/<base.*/<base href=\"\/CRM\/\" version=\"%tags%_%version%_%VAR%\"\/>/" src\main\resources\static\indexMinify.html -- 2.26.2