Commit 6c0579e5 authored by YM-RD-AP01\ymadmin's avatar YM-RD-AP01\ymadmin

20160017: Job [Deploy_AWS_Presale_HRA_Prod] configuration updated

Change performed by ÁªþÈ
parent 493da55d
...@@ -14,13 +14,13 @@ ...@@ -14,13 +14,13 @@
<description> <description>
release/1.15GA release/1.15GA
hotfix/1.15.1GA</description> hotfix/1.15.1GA</description>
<defaultValue>feature/I18N</defaultValue> <defaultValue>master</defaultValue>
<trim>false</trim> <trim>false</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition> </hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
<hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition plugin="global-variable-string-parameter@1.2"> <hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition plugin="global-variable-string-parameter@1.2">
<name>AWS_TW_HRB_AP</name> <name>AWS_PRESALE_AP</name>
<description></description> <description></description>
<defaultValue>13.231.249.208</defaultValue> <defaultValue>13.115.232.200</defaultValue>
<trim>false</trim> <trim>false</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition> </hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
</parameterDefinitions> </parameterDefinitions>
...@@ -81,7 +81,9 @@ hotfix/1.15.1GA</description> ...@@ -81,7 +81,9 @@ hotfix/1.15.1GA</description>
<reporters/> <reporters/>
<publishers> <publishers>
<jenkins.plugins.slack.SlackNotifier plugin="slack@2.23"> <jenkins.plugins.slack.SlackNotifier plugin="slack@2.23">
<baseUrl></baseUrl>
<teamDomain></teamDomain> <teamDomain></teamDomain>
<authToken></authToken>
<tokenCredentialId></tokenCredentialId> <tokenCredentialId></tokenCredentialId>
<botUser>false</botUser> <botUser>false</botUser>
<room></room> <room></room>
...@@ -98,7 +100,7 @@ hotfix/1.15.1GA</description> ...@@ -98,7 +100,7 @@ hotfix/1.15.1GA</description>
<includeTestSummary>false</includeTestSummary> <includeTestSummary>false</includeTestSummary>
<includeFailedTests>false</includeFailedTests> <includeFailedTests>false</includeFailedTests>
<commitInfoChoice>NONE</commitInfoChoice> <commitInfoChoice>NONE</commitInfoChoice>
<includeCustomMessage>true</includeCustomMessage> <includeCustomMessage>false</includeCustomMessage>
<customMessage></customMessage> <customMessage></customMessage>
<customMessageSuccess></customMessageSuccess> <customMessageSuccess></customMessageSuccess>
<customMessageAborted></customMessageAborted> <customMessageAborted></customMessageAborted>
...@@ -130,7 +132,7 @@ sed -i &quot;&quot; &quot;s/&lt;title.*/&lt;title&gt;Form v${version}_${VAR}&lt; ...@@ -130,7 +132,7 @@ sed -i &quot;&quot; &quot;s/&lt;title.*/&lt;title&gt;Form v${version}_${VAR}&lt;
<hudson.tasks.Shell> <hudson.tasks.Shell>
<command>PROD_FILE=ylhealth-hra.war <command>PROD_FILE=ylhealth-hra.war
KEY_FILE=../../jenkins KEY_FILE=../../jenkins
TARGET_HOST=jenkins@${AWS_TW_HRB_AP} TARGET_HOST=jenkins@${AWS_PRESALE_AP}
SSH_PROXY=&quot;ProxyCommand ssh -i ${KEY_FILE} proxy@10.57.117.130 nc %h %p&quot; 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; ssh -i ${KEY_FILE} -o &quot;${SSH_PROXY}&quot; ${TARGET_HOST} &quot;rm -f ${PROD_FILE}&quot;
......
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