Commit 97ba60d1 authored by YM-RD-AP01\ymadmin's avatar YM-RD-AP01\ymadmin

20180082: Job [Deploy_Hi365_API_PROD] configuration updated

Change performed by ³¯¾_¶§
parent dfa234ff
......@@ -66,11 +66,12 @@
</hudson.plugins.gradle.Gradle>
<hudson.tasks.Shell>
<command>KEY_FILE=&quot;../../jenkins&quot;
API_KEY_FILE=&quot;../../hi365-jp&quot;
API_IP_1=&quot;3.112.56.64&quot;
SSH_PROXY=&quot;ProxyCommand ssh -i ${KEY_FILE} -o StrictHostKeyChecking=no proxy@10.57.117.130 nc %h %p&quot;
#API_IP_2=&quot;52.194.232.143&quot;
scp -i &quot;../../jenkins&quot; -o StrictHostKeyChecking=no -o &quot;${SSH_PROXY}&quot; build/libs/* ec2-user@{$API_IP1}:/opt/Hi365ResourceServer/lib
#scp -i $KEY_FILE -o StrictHostKeyChecking=no build/libs/* ec2-user@$API_IP2:/opt/Hi365ResourceServer/lib</command>
SSH_PROXY=&quot;ProxyCommand ssh -i ${KEY_FILE} -o StrictHostKeyChecking=no proxy@10.57.117.130 nc %h %p&quot;
scp -i ${API_KEY_FILE} -o StrictHostKeyChecking=no -o &quot;${SSH_PROXY}&quot; build/libs/* ec2-user@{$API_IP1}:/opt/Hi365ResourceServer/lib
#scp -i ${API_KEY_FILE} -o StrictHostKeyChecking=no -o &quot;${SSH_PROXY}&quot; build/libs/* ec2-user@{$API_IP2}:/opt/Hi365ResourceServer/lib</command>
</hudson.tasks.Shell>
</builders>
<publishers/>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment