From c27fd79ffbd6f0ca6b00bc9212256dba417017ad Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Mon, 16 Mar 2020 10:20:59 +0800 Subject: [PATCH] scott: Job [Deploy_CHM_UAT_136] configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by 楊慶堂 --- jobs/Deploy_CHM_UAT_136/config.xml | 56 +++++++++++++++--------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/jobs/Deploy_CHM_UAT_136/config.xml b/jobs/Deploy_CHM_UAT_136/config.xml index 5dfa1ef3..fffae719 100644 --- a/jobs/Deploy_CHM_UAT_136/config.xml +++ b/jobs/Deploy_CHM_UAT_136/config.xml @@ -1,12 +1,12 @@ - - + - + false ylhealth + @@ -16,7 +16,7 @@ develop master release/1.61GA hotfix/1.42.3GA - hotfix/1.71.2GA + release/1.72GA false @@ -30,7 +30,7 @@ hotfix/1.42.3GA - + 2 @@ -119,15 +119,15 @@ hotfix/1.42.3GA - - - - + + + + false - + false - - + + false false true @@ -142,29 +142,29 @@ hotfix/1.42.3GA false NONE false - - - - - - + + + + + + false - - + + false - + - VAR=$(git rev-parse --short HEAD)_$(date +"%Y%m%d_%H%M") + VAR=$(git rev-parse --short HEAD)_$(date +"%Y%m%d_%H%M") version=${GIT_BRANCH##*/} -sed -i "s/<title.*/<title ng-bind='page_title'>CRM v${version}_${VAR}<\/title\/>/" src/main/resources/static/index.html -sed -i "s/<title.*/<title ng-bind='page_title'>CRM v${version}_${VAR}<\/title\/>/" src/main/resources/static/indexMinify.html +sed -i "s/<title.*/<title ng-bind='page_title'>CRM v${version}_${VAR}<\/title\/>/" src/main/resources/static/index.html +sed -i "s/<title.*/<title ng-bind='page_title'>CRM v${version}_${VAR}<\/title\/>/" src/main/resources/static/indexMinify.html @@ -177,10 +177,10 @@ tempdir=$(mktemp -d) sudo rm -f ${chm}/lib/* sudo rm -rf ${chm}/templates/* -7za x target/CRM-pack.zip -o"${tempdir}" -sudo mv -f ${tempdir}/CRM/lib/* "${chm}/lib" -sudo mv -f ${tempdir}/CRM/templates/* "${chm}/templates" -rm -rf "${tempdir}" +7za x target/CRM-pack.zip -o"${tempdir}" +sudo mv -f ${tempdir}/CRM/lib/* "${chm}/lib" +sudo mv -f ${tempdir}/CRM/templates/* "${chm}/templates" +rm -rf "${tempdir}" sudo systemctl start CRM -- 2.26.2