From 3b1c98bd9fefff3f7ec09fef16201334d4afb06e Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Fri, 15 Nov 2019 16:00:46 +0800 Subject: [PATCH] 20180082: Job [Deploy_Hi365_API_PROD] configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by ³¯¾_¶§ --- config.xml | 1 + jobs/Deploy_Hi365_API_PROD/config.xml | 84 +++++++++++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 jobs/Deploy_Hi365_API_PROD/config.xml diff --git a/config.xml b/config.xml index 92799cd3..ea024a87 100644 --- a/config.xml +++ b/config.xml @@ -762,6 +762,7 @@ Deploy_Hi365_Android_SIT + Deploy_Hi365_API_PROD Deploy_Hi365_API_SIT Deploy_Hi365_API_UAT Deploy_Hi365_APP(Android + IOS)_SIT diff --git a/jobs/Deploy_Hi365_API_PROD/config.xml b/jobs/Deploy_Hi365_API_PROD/config.xml new file mode 100644 index 00000000..e6717708 --- /dev/null +++ b/jobs/Deploy_Hi365_API_PROD/config.xml @@ -0,0 +1,84 @@ + + + + + false + + + + com.cloudbees.plugins.credentials.CredentialsProvider.View:longmengua + hudson.model.Item.Build:longmengua + hudson.model.Item.Cancel:longmengua + hudson.model.Item.Gitflow:longmengua + hudson.model.Item.Read:longmengua + hudson.model.Item.Workspace:longmengua + + + + -1 + 5 + -1 + -1 + + + + ylhealth + + + + 2 + + + https://cm.ylhealth.org/gitlab/YongYue/hi365-api.git + 3485e854-8389-40e8-8c86-b94e94e91904 + + + + + master + + + false + + + + HI365_UAT_10.57.105.28 + false + false + false + false + + false + + + + build -x test + + + gradle-5-6 + false + false + false + + false + + false + + + export GOOGLE_APPLICATION_CREDENTIALS="/var/lib/jenkins/workspace/Deploy_Hi365_API_UAT/hi365-b2622.json" +sudo systemctl stop Hi365Resource +sudo rm -f /opt/Hi365ResourceServer/lib/*.jar +sudo cp -a build/libs/* /opt/Hi365ResourceServer/lib +sudo systemctl start Hi365Resource + + + + + + false + + + false + + + \ No newline at end of file -- 2.26.2