Commit 818e335a authored by YM-RD-AP01\ymadmin's avatar YM-RD-AP01\ymadmin

scott: Job [Deploy_DHP_CHM_Prod] configuration updated

Change performed by ·¨¼y°ó
parent 9c94af7c
...@@ -138,8 +138,14 @@ sed -i "" "s/<base.*/<base href=\"\/CRM\/\" versi ...@@ -138,8 +138,14 @@ sed -i "" "s/<base.*/<base href=\"\/CRM\/\" versi
</prebuilders> </prebuilders>
<postbuilders> <postbuilders>
<hudson.tasks.Shell> <hudson.tasks.Shell>
<command>ssh -i ../jenkins -o &quot;ProxyCommand ssh -i jenkins proxy@10.57.117.130 nc %h %p&quot; jenkins@${AWS_CHM_AP} &quot;rm -f CRM-pack.zip&quot; <command>PROD_FILE=CRM-pack.zip
scp -i ../jenkins -o &quot;ProxyCommand ssh -i jenkins proxy@10.57.117.130 nc %h %p&quot; target/CRM-pack.zip jenkins@${AWS_CHM_AP}:~/</command> KEY_FILE=../../jenkins
TARGET_HOST=jenkins@${AWS_CHM_AP}
SSH_PROXY=&quot;ProxyCommand ssh -i ${KEY_FILE} proxy@10.57.117.130 nc %h %p&quot;
ssh -i ${KEY_FILE} -o &quot;${SSH_PROXY}&quot; ${TARGET_HOST} &quot;rm -f ${PROD_FILE}&quot;
scp -i ${KEY_FILE} -o &quot;${SSH_PROXY}&quot; target/${PROD_FILE} ${TARGET_HOST}:~/
</command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
</postbuilders> </postbuilders>
<runPostStepsIfResult> <runPostStepsIfResult>
......
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