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

20170121: Job [HRB_Mobile_UAT_DHP_ipa] configuration updated

Change performed by §N¨ήS
parent abfae44b
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<description>UAT 使用的版本,如: <description>UAT 使用的版本,如:
release/1.15GA release/1.15GA
hotfix/1.14.1GA</description> hotfix/1.14.1GA</description>
<defaultValue>release/1.43</defaultValue> <defaultValue>release/1.45</defaultValue>
<trim>false</trim> <trim>false</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition> </hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
</parameterDefinitions> </parameterDefinitions>
...@@ -56,12 +56,12 @@ hotfix/1.14.1GA</description> ...@@ -56,12 +56,12 @@ hotfix/1.14.1GA</description>
<hudson.tasks.Shell> <hudson.tasks.Shell>
<command>PATH=&quot;$PATH:/usr/local/bin:/Users/jenkins/.fastlane/bin/&quot; <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 security set-key-partition-list -S apple: -k Yonglinit123 -D &quot;iPhone Distribution: YONGLIN YONGLIN BIOTECH CORP.&quot; -t private
VERSION=UAT_$(date +%Y%m%d)_$(git rev-parse --short HEAD) VERSION=UAT_DHP_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --) MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --)
npm install npm install
sed -i &quot;&quot; &apos;/url/s/http.*\//http:\/\/10.32.86.139\//g&apos; src/configs/index.js sed -i &quot;&quot; &apos;/url/s/http.*\//https:\/\/dihtest.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;/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;/modifiedTime/s/\&apos;.*\&apos;;/\&apos;${MODIFIED_DATE}\&apos;;/&quot; src/configs/index.js
sed -i &apos;&apos; &quot;/allergyUrl/s/\__DEV__.*\&apos;;/\&apos;http:\/\/10.32.86.132\/\&apos;;/&quot; src/configs/index.js sed -i &apos;&apos; &quot;/allergyUrl/s/\__DEV__.*\&apos;;/\&apos;http:\/\/10.32.86.132\/\&apos;;/&quot; src/configs/index.js
...@@ -71,7 +71,7 @@ node node_modules/react-native/local-cli/cli.js bundle --dev false --assets-dest ...@@ -71,7 +71,7 @@ node node_modules/react-native/local-cli/cli.js bundle --dev false --assets-dest
bundle exec fastlane ios uat</command> bundle exec fastlane ios uat</command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
<hudson.tasks.Shell> <hudson.tasks.Shell>
<command>VERSION=UAT_$(date +%Y%m%d)_$(git rev-parse --short HEAD) <command>VERSION=UAT_DHP_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --) MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --)
NAME=HRB_Mobile NAME=HRB_Mobile
...@@ -85,7 +85,7 @@ scp ~/Sites/${NAME}_${VERSION}.ipa appuploader@10.57.117.135:~/app/hrb/</command ...@@ -85,7 +85,7 @@ scp ~/Sites/${NAME}_${VERSION}.ipa appuploader@10.57.117.135:~/app/hrb/</command
<hudson.plugins.parameterizedtrigger.BuildTriggerConfig> <hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
<configs> <configs>
<hudson.plugins.parameterizedtrigger.PredefinedBuildParameters> <hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
<properties>NotifyMessage=Deploy HRB Mobile ipa on UAT done.</properties> <properties>NotifyMessage=Deploy HRB Mobile ipa on UAT DHP done.</properties>
<textParamValueOnNewLine>false</textParamValueOnNewLine> <textParamValueOnNewLine>false</textParamValueOnNewLine>
</hudson.plugins.parameterizedtrigger.PredefinedBuildParameters> </hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
</configs> </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