Commit f6e59a1b 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 c6eee440
...@@ -76,18 +76,7 @@ commitId ...@@ -76,18 +76,7 @@ commitId
<concurrentBuild>false</concurrentBuild> <concurrentBuild>false</concurrentBuild>
<builders> <builders>
<hudson.tasks.Shell> <hudson.tasks.Shell>
<command>PATH=&quot;$HOME/.rvm/bin:/usr/local/bin:$PATH:/Users/jenkins/.fastlane/bin/&quot; <command>sh jenkins_android.sh SIT_${DownloadName}
VERSION=SIT_${DownloadName}_$(date +%Y%m%d)
MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --)
# 加速打包,正式時還是要包
GYM_INCLUDE_SYMBOLS=false
GYM_INCLUDE_BITCODE=false
gem install bundler
bundler install
npm run clear
sed -i &apos;&apos; &quot;/url/s/http.*\//${HTT_PROTOCOL}:\/\/${API_SERVER}\//g&quot; src/configs/index.js sed -i &apos;&apos; &quot;/url/s/http.*\//${HTT_PROTOCOL}:\/\/${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 sed -i &apos;&apos; &quot;/version/s/\&apos;.*\&apos;;/\&apos;${VERSION}\&apos;;/&quot; src/configs/index.js
...@@ -95,8 +84,6 @@ sed -i &apos;&apos; &quot;/modifiedTime/s/\&apos;.*\&apos;;/\&apos;${MODIFIED_DA ...@@ -95,8 +84,6 @@ sed -i &apos;&apos; &quot;/modifiedTime/s/\&apos;.*\&apos;;/\&apos;${MODIFIED_DA
sed -i &apos;&apos; &quot;/allergyUrl/s/\__DEV__.*\&apos;;/\&apos;${HTT_PROTOCOL}:\/\/${API_SERVER}\/\&apos;;/&quot; src/configs/index.js sed -i &apos;&apos; &quot;/allergyUrl/s/\__DEV__.*\&apos;;/\&apos;${HTT_PROTOCOL}:\/\/${API_SERVER}\/\&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
export ANDROID_HOME=/Users/jenkins/Library/Android/sdk
npm run build-thread-android npm run build-thread-android
bundle exec fastlane android beta</command> bundle exec fastlane android beta</command>
......
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