diff --git a/jobs/Deploy_CHM_UAT_136/config.xml b/jobs/Deploy_CHM_UAT_136/config.xml index 5dfa1ef3fb5e8af62b1079e6630e2c68c6474545..fffae7197a17d3df4680425c515ef698fc93e9dc 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