From f53219b48857dd76128b2e165f8f853db28b0846 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Wed, 15 Apr 2020 18:10:51 +0800 Subject: [PATCH] 20180083: Job [Deploy_CHMB_PRESALE_163] configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by 李漢浜 --- jobs/Deploy_CHMB_PRESALE_163/config.xml | 68 +++++++++++++------------ 1 file changed, 36 insertions(+), 32 deletions(-) diff --git a/jobs/Deploy_CHMB_PRESALE_163/config.xml b/jobs/Deploy_CHMB_PRESALE_163/config.xml index 9be6768a..f405c8d4 100644 --- a/jobs/Deploy_CHMB_PRESALE_163/config.xml +++ b/jobs/Deploy_CHMB_PRESALE_163/config.xml @@ -1,7 +1,6 @@ - - + - + false @@ -16,20 +15,24 @@ com.cloudbees.plugins.credentials.CredentialsProvider.Update:scott com.cloudbees.plugins.credentials.CredentialsProvider.View:ExpertAdmin com.cloudbees.plugins.credentials.CredentialsProvider.View:scott + hudson.model.Item.Build:20180084 hudson.model.Item.Build:ExpertAdmin hudson.model.Item.Build:scott + hudson.model.Item.Cancel:20180084 hudson.model.Item.Cancel:ExpertAdmin hudson.model.Item.Cancel:scott hudson.model.Item.Configure:ExpertAdmin hudson.model.Item.Configure:scott hudson.model.Item.Delete:ExpertAdmin hudson.model.Item.Delete:scott + hudson.model.Item.Discover:20180084 hudson.model.Item.Discover:ExpertAdmin hudson.model.Item.Discover:scott hudson.model.Item.Move:ExpertAdmin hudson.model.Item.Move:scott hudson.model.Item.Read:ExpertAdmin hudson.model.Item.Read:scott + hudson.model.Item.Workspace:20180084 hudson.model.Item.Workspace:ExpertAdmin hudson.model.Item.Workspace:scott hudson.model.Run.Delete:ExpertAdmin @@ -44,6 +47,7 @@ ylhealth + @@ -59,7 +63,7 @@ expert_develop Release_Version - + V1.0.0.X false @@ -74,7 +78,7 @@ expert_develop - + 2 @@ -128,16 +132,16 @@ expert_develop - - - - - + + + + + false - + false - - + + false false true @@ -152,12 +156,12 @@ expert_develop false NONE false - - - - - - + + + + + + @@ -172,27 +176,27 @@ expert_develop - + false - - + + false - + - + Deploy_ReportUploader_SIT_132 target/jnlp/lib/* src/main/resources/static/ReportUploader/lib/ - + true false - DateTimeNow=$(date +"%Y%m%d_%H%M") -sed -i "s/<title.*/<title>H2U客戶管理系統 ${Release_Version}_${DateTimeNow}<\/title\/>/" src/main/resources/static/index.html + DateTimeNow=$(date +"%Y%m%d_%H%M") +sed -i "s/<title.*/<title>H2U客戶管理系統 ${Release_Version}_${DateTimeNow}<\/title\/>/" src/main/resources/static/index.html @@ -201,14 +205,14 @@ sed -i "s/<title.*/<title>H2U客戶管理系統 ${Release_Version} chmb=/opt/CHMB tempdir=$(mktemp -d) -7za x target/CHMB-pack.zip -o"${tempdir}" +7za x target/CHMB-pack.zip -o"${tempdir}" rm -rf ${chmb}/lib/* rm -rf ${chmb}/sample/* rm -rf ${chmb}/template/* -mv -f ${tempdir}/CHMB/lib/* "${chmb}/lib" -mv -f ${tempdir}/CHMB/sample/* "${chmb}/sample" -mv -f ${tempdir}/CHMB/template/* "${chmb}/template" -rm -rf "${tempdir}" +mv -f ${tempdir}/CHMB/lib/* "${chmb}/lib" +mv -f ${tempdir}/CHMB/sample/* "${chmb}/sample" +mv -f ${tempdir}/CHMB/template/* "${chmb}/template" +rm -rf "${tempdir}" systemctl start CHMB -- 2.26.2