From dcaf1de997f5f46ebc54bca14b6d61050add283a Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Wed, 10 Jul 2019 11:32:52 +0800 Subject: [PATCH] scott: Job [Deploy_HRA_JVTEST_165] configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by ·¨¼y°ó --- jobs/Deploy_HRA_JVTEST_165/config.xml | 133 ++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 jobs/Deploy_HRA_JVTEST_165/config.xml diff --git a/jobs/Deploy_HRA_JVTEST_165/config.xml b/jobs/Deploy_HRA_JVTEST_165/config.xml new file mode 100644 index 00000000..b3a3342d --- /dev/null +++ b/jobs/Deploy_HRA_JVTEST_165/config.xml @@ -0,0 +1,133 @@ + + + + + false + + + ylhealth + + + + + GIT_BRANCH + 如 +release/1.15GA +hotfix/1.15.1GA + feature/I18N + false + + + + + + -1 + 5 + -1 + -1 + + + + + 2 + + + https://cm.ylhealth.org/gitlab/ym/HRB-Rule-Engine.git + 3485e854-8389-40e8-8c86-b94e94e91904 + + + + + */${GIT_BRANCH} + + + false + + + + DIH_Test_172.16.40.164 + false + false + false + false + + false + + com.ylhealth.hra + ylhealth_hra + + clean package -Dmaven.test.skip=true -P !jenkins,prod + jetty:run + true + false + false + false + true + true + true + false + false + -1 + false + true + + + + + + + + false + + false + false + false + true + true + true + false + true + false + true + false + false + false + NONE + false + + + + + + + + + + + false + + + false + + + + + VAR=$(git rev-parse --short HEAD)_$(date +"%Y%m%d_%H%M") +version=$(echo $GIT_BRANCH | cut -d'/' -f 3) +sed -i "s/<base.*/<base href=\"\/\" version=\"${version}_${VAR}\"\/>/" WebContent/WEB-INF/jsp/home/home.jsp + + + + + systemctl stop hra.service +cp target/ylhealth-hra.war /opt/hra/webapps/ +systemctl start hra.service + + + + SUCCESS + 0 + BLUE + true + + \ No newline at end of file -- 2.26.2