Commit ffb0640e 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 bef00546
......@@ -26,13 +26,13 @@ feature/HA-818
develop
commitId
4c1966d510b71fdf3ec67807321a385c5378cf86</description>
<defaultValue>feature/HA-1040</defaultValue>
<defaultValue>feature/HA-1053</defaultValue>
<trim>false</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
<hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition plugin="global-variable-string-parameter@1.2">
<name>DownloadName</name>
<description>下載清單上要顯示的名稱</description>
<defaultValue>test</defaultValue>
<defaultValue>healthbookSDK</defaultValue>
<trim>false</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
<hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition plugin="global-variable-string-parameter@1.2">
......@@ -44,7 +44,7 @@ commitId
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
</properties>
<scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.1">
<scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.2">
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
......@@ -54,7 +54,7 @@ commitId
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>${HRB_Mobile_Other_Branch}</name>
<name>*/${HRB_Mobile_Other_Branch}</name>
</hudson.plugins.git.BranchSpec>
</branches>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
......@@ -74,7 +74,7 @@ commitId
VERSION=SIT_${DownloadName}_$(date +%Y%m%d)
MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --)
npm install --update-binary
yarn install
sed -i &apos;&apos; &quot;/url/s/http.*\//http:\/\/${API_SERVER}\//g&quot; src/configs/index.js
sed -i &apos;&apos; &quot;/version/s/\&apos;.*\&apos;;/\&apos;${VERSION}\&apos;;/&quot; src/configs/index.js
......@@ -85,8 +85,9 @@ sed -i &apos;&apos; &apos;s/appVersion.*/appVersion&quot;: &quot;1.27&quot;/&apo
export ANDROID_HOME=/Users/jenkins/Library/Android/sdk
##npm run bundle-worker-android
npm run build-thread-android
fastlane android beta</command>
bundle exec fastlane android beta</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>VERSION=SIT_${DownloadName}_$(date +%Y%m%d)
......
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