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

20170121: Job [HRB_Mobile_UAT_JV_ipa] configuration updated

Change performed by §N¨ήS
parent 2625b46c
......@@ -14,7 +14,7 @@
<description>UAT 使用的版本,如:
release/1.15GA
hotfix/1.14.1GA</description>
<defaultValue>DHP_master</defaultValue>
<defaultValue>DHP/release/1.53</defaultValue>
<trim>false</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
</parameterDefinitions>
......@@ -56,17 +56,17 @@ hotfix/1.14.1GA</description>
<hudson.tasks.Shell>
<command>PATH=&quot;$PATH:/usr/local/bin:/Users/jenkins/.fastlane/bin/&quot;
security set-key-partition-list -S apple: -k Yonglinit123 -D &quot;iPhone Distribution: YONGLIN YONGLIN BIOTECH CORP.&quot; -t private
VERSION=UAT_DHP_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
VERSION=UAT_JV_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --)
npm install
sed -i &quot;&quot; &apos;/url/s/http.*\//https:\/\/dihtest.uhealthbank.com\//g&apos; src/configs/index.js
sed -i &quot;&quot; &apos;/url/s/http.*\//https:\/\/jvtest.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;/defaultLanguageCode/s/\&apos;.*\&apos;;/\&apos;en_US\&apos;;/&quot; src/configs/index.js
sed -i &apos;&apos; &quot;/unitStandard/s/\&apos;.*\&apos;;/\&apos;USCU\&apos;;/&quot; src/configs/index.js
sed -i &apos;&apos; &quot;/allergyUrl/s/__DEV__.*url;/\&apos;http:\/\/10.32.86.124\/\&apos;;/&quot; src/configs/index.js
sed -i &apos;&apos; &quot;/allergyUrl/s/__DEV__.*url;/\&apos;https:\/\/jvtest.uhealthbank.com\/\&apos;;/&quot; src/configs/index.js
# RN0.57.8 modify(HA-1058), after RN0.58 will remove this command
......@@ -77,12 +77,12 @@ npm run build-thread-ios
bundle exec fastlane ios uat</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>VERSION=UAT_DHP_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
<command>VERSION=UAT_JV_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --)
NAME=HRB_Mobile
mv $NAME.ipa ~/Sites/${NAME}_${VERSION}.ipa
scp ~/Sites/${NAME}_${VERSION}.ipa appuploader@10.57.117.135:~/app/dhp/</command>
scp ~/Sites/${NAME}_${VERSION}.ipa appuploader@10.57.117.135:~/app/jv/</command>
</hudson.tasks.Shell>
</builders>
<publishers>
......@@ -91,7 +91,7 @@ scp ~/Sites/${NAME}_${VERSION}.ipa appuploader@10.57.117.135:~/app/dhp/</command
<hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
<configs>
<hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
<properties>NotifyMessage=Deploy HRB Mobile ipa on UAT DHP done.</properties>
<properties>NotifyMessage=Deploy HRB Mobile ipa on UAT JV done.</properties>
<textParamValueOnNewLine>false</textParamValueOnNewLine>
</hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
</configs>
......
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