From e6e3ecb8008c7e4a3dece1e639d47483a795a25f Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Tue, 26 Nov 2019 10:06:38 +0800 Subject: [PATCH] 20180082: Job [Deploy_Hi365_API_Production] configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by ³¯¾_¶§ --- jobs/Deploy_Hi365_API_Production/config.xml | 86 +++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 jobs/Deploy_Hi365_API_Production/config.xml diff --git a/jobs/Deploy_Hi365_API_Production/config.xml b/jobs/Deploy_Hi365_API_Production/config.xml new file mode 100644 index 00000000..3c2af858 --- /dev/null +++ b/jobs/Deploy_Hi365_API_Production/config.xml @@ -0,0 +1,86 @@ + + + + + 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 + + + + AWS_BUILD_Machine + false + false + false + false + + false + + + + build -x test + + + gradle-5-6 + false + false + false + + false + + false + + + KEY_FILE="../../jenkins" +API_KEY_FILE="../../hi365-jp" +API_IP_1="3.112.56.64" +API_IP_2="52.194.232.143" +SSH_PROXY="ProxyCommand ssh -i ${KEY_FILE} -o StrictHostKeyChecking=no proxy@10.57.117.130 nc %h %p" +scp -i ${API_KEY_FILE} -o StrictHostKeyChecking=no -o "${SSH_PROXY}" build/libs/* ec2-user@$API_IP_1:~/ +scp -i ${API_KEY_FILE} -o StrictHostKeyChecking=no -o "${SSH_PROXY}" build/libs/* ec2-user@$API_IP_2:~/ + + + + + + false + + + false + + + \ No newline at end of file -- 2.26.2