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

20170121: Job [HRB_Mobile_Other_ipa] configuration updated

Change performed by §N¨ήS
parent dd43de53
<?xml version='1.1' encoding='UTF-8'?>
<project>
<actions/>
<description>用來建置feature branch使用&#xd;
<description>用來建置feature branch或是其他Branch使用&#xd;
只打包 ipa, 不做Code Push</description>
<keepDependencies>false</keepDependencies>
<properties>
......@@ -13,8 +13,9 @@
<hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition plugin="global-variable-string-parameter@1.2">
<name>HRB_Mobile_Other_Branch</name>
<description>feature branch使用的版本,如:
feature/HA-818</description>
<defaultValue>feature/HA-818</defaultValue>
feature/HA-818
其他Branch請自行設定</description>
<defaultValue>RN0.50</defaultValue>
<trim>false</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
</parameterDefinitions>
......@@ -54,16 +55,13 @@ feature/HA-818</description>
<concurrentBuild>false</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
PATH=&quot;$PATH:/usr/local/bin:/Users/jenkins/.fastlane/bin/&quot;
VERSION=SIT_Upgrade_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
<command>PATH=&quot;$PATH:/usr/local/bin:/Users/jenkins/.fastlane/bin/&quot;
VERSION=SIT_Other_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --)
npm install --update-binary
sed -i &quot;&quot; &apos;/url/s/http.*\//http:\/\/10.32.86.132\//g&apos; src/configs/index.js
sed -i &quot;&quot; &apos;/url/s/http.*\//http:\/\/10.32.86.139\//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; &apos;s/appVersion.*/appVersion&quot;: &quot;1.27&quot;/&apos; appConfig.json
......@@ -72,10 +70,12 @@ security set-key-partition-list -S apple: -k Yonglinit123 -D &quot;iPhone Distri
node node_modules/react-native/local-cli/cli.js bundle --dev false --assets-dest ./ios --entry-file index.worker.js --platform ios --bundle-output ./ios/worker.jsbundle --sourcemap-output ./ios/ios.worker.map
fastlane ios beta</command>
pod repo update
bundle exec fastlane ios beta
</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>VERSION=SIT_Upgrade_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
<command>VERSION=SIT_Other_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --)
NAME=HRB_Mobile
......@@ -84,14 +84,14 @@ scp ~/Sites/${NAME}_${VERSION}.ipa appuploader@10.57.117.135:~/app/hrb/</command
</hudson.tasks.Shell>
</builders>
<publishers>
<hudson.tasks.Mailer plugin="mailer@1.21">
<hudson.tasks.Mailer plugin="mailer@1.22">
<recipients>$RD_Group</recipients>
<dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
<sendToIndividuals>true</sendToIndividuals>
</hudson.tasks.Mailer>
</publishers>
<buildWrappers>
<hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.35">
<hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.36">
<deleteDirs>false</deleteDirs>
<cleanupParameter></cleanupParameter>
<externalDelete></externalDelete>
......
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