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

20170121: Job [HRB_Mobile_Other_apk] configuration updated

Change performed by §N¨ήS
parent d0a51561
<?xml version='1.1' encoding='UTF-8'?> <?xml version='1.1' encoding='UTF-8'?>
<project> <project>
<actions/> <actions/>
<description>用來建置feature branch使用&#xd; <description>用來建置feature branch或是其他Branch使用&#xd;
只打包 APK, 不做Code Push</description> 只打包 APK, 不做Code Push</description>
<keepDependencies>false</keepDependencies> <keepDependencies>false</keepDependencies>
<properties> <properties>
...@@ -13,8 +13,9 @@ ...@@ -13,8 +13,9 @@
<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>HRB_Mobile_Other_Branch</name> <name>HRB_Mobile_Other_Branch</name>
<description>feature branch使用的版本,如: <description>feature branch使用的版本,如:
feature/HA-818</description> feature/HA-818
<defaultValue>feature/HA-818</defaultValue> 其他Branch請自行設定</description>
<defaultValue>RN0.50</defaultValue>
<trim>false</trim> <trim>false</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition> </hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
</parameterDefinitions> </parameterDefinitions>
...@@ -55,12 +56,12 @@ feature/HA-818</description> ...@@ -55,12 +56,12 @@ feature/HA-818</description>
<builders> <builders>
<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;
VERSION=SIT_Upgrade_$(date +%Y%m%d)_$(git rev-parse --short HEAD) VERSION=SIT_Other_$(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 --update-binary 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;/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; &apos;s/appVersion.*/appVersion&quot;: &quot;1.27&quot;/&apos; appConfig.json sed -i &apos;&apos; &apos;s/appVersion.*/appVersion&quot;: &quot;1.27&quot;/&apos; appConfig.json
...@@ -71,7 +72,7 @@ node node_modules/react-native/local-cli/cli.js bundle --dev false --assets-dest ...@@ -71,7 +72,7 @@ node node_modules/react-native/local-cli/cli.js bundle --dev false --assets-dest
fastlane android beta</command> fastlane android beta</command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
<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; --) MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --)
NAME=HRB_Mobile NAME=HRB_Mobile
...@@ -80,14 +81,14 @@ scp ~/Sites/${NAME}_${VERSION}.apk appuploader@10.57.117.135:~/app/hrb/</command ...@@ -80,14 +81,14 @@ scp ~/Sites/${NAME}_${VERSION}.apk appuploader@10.57.117.135:~/app/hrb/</command
</hudson.tasks.Shell> </hudson.tasks.Shell>
</builders> </builders>
<publishers> <publishers>
<hudson.tasks.Mailer plugin="mailer@1.21"> <hudson.tasks.Mailer plugin="mailer@1.22">
<recipients>$RD_Group</recipients> <recipients>$RD_Group</recipients>
<dontNotifyEveryUnstableBuild>true</dontNotifyEveryUnstableBuild> <dontNotifyEveryUnstableBuild>true</dontNotifyEveryUnstableBuild>
<sendToIndividuals>false</sendToIndividuals> <sendToIndividuals>false</sendToIndividuals>
</hudson.tasks.Mailer> </hudson.tasks.Mailer>
</publishers> </publishers>
<buildWrappers> <buildWrappers>
<hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.35"> <hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.36">
<deleteDirs>false</deleteDirs> <deleteDirs>false</deleteDirs>
<cleanupParameter></cleanupParameter> <cleanupParameter></cleanupParameter>
<externalDelete></externalDelete> <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