Commit 592bf336 authored by YM-RD-AP01\ymadmin's avatar YM-RD-AP01\ymadmin

20170121: Job [HRB_Mobile_UAT_ipa_CodePush] configuration updated

Change performed by §N¨ήS
parent 0a2e1f9d
...@@ -19,6 +19,12 @@ hotfix/1.14.1GA</description> ...@@ -19,6 +19,12 @@ hotfix/1.14.1GA</description>
<defaultValue> release/1.15GA</defaultValue> <defaultValue> release/1.15GA</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">
<name>CODE_PUSH</name>
<description></description>
<defaultValue>hrb</defaultValue>
<trim>false</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
</parameterDefinitions> </parameterDefinitions>
</hudson.model.ParametersDefinitionProperty> </hudson.model.ParametersDefinitionProperty>
<jenkins.model.BuildDiscarderProperty> <jenkins.model.BuildDiscarderProperty>
...@@ -56,14 +62,7 @@ hotfix/1.14.1GA</description> ...@@ -56,14 +62,7 @@ hotfix/1.14.1GA</description>
<concurrentBuild>false</concurrentBuild> <concurrentBuild>false</concurrentBuild>
<builders> <builders>
<hudson.tasks.Shell> <hudson.tasks.Shell>
<command>sh jenkins_ios.sh UAT <command>sh jenkins_ios_uat.sh ${CODE_PUSH} &apos;code-push&apos; </command>
sed -i &quot;&quot; &apos;/url/s/http.*\//https:\/\/uat.my.uhealthbank.com\//g&apos; src/configs/index.js
sed -i &apos;&apos; &quot;/version/s/\&apos;.*\&apos;;/\&apos;${VERSION}\&apos;;/&quot; src/configs/index.js
sed -i &apos;&apos; &quot;/modifiedTime/s/\&apos;.*\&apos;;/\&apos;${MODIFIED_DATE}\&apos;;/&quot; src/configs/index.js
sed -i &apos;&apos; &quot;/allergyUrl/s/__DEV__.*url;/\&apos;https:\/\/uat.my.uhealthbank.com\/\&apos;;/&quot; src/configs/index.js
appcenter codepush release-react -a h2uclub/HRB_Mobile_ios -m -d UAT</command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
</builders> </builders>
<publishers/> <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