Commit 9c94af7c authored by YM-RD-AP01\ymadmin's avatar YM-RD-AP01\ymadmin

scott: Job [Deploy_DHP_CHMB_Prod] configuration updated

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