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

20170121: Job [CRM_Mobile_UAT_apk] configuration updated

Change performed by §N¨ήS
parent 08d2ed4c
...@@ -51,7 +51,7 @@ hotfix/1.14.1GA</description> ...@@ -51,7 +51,7 @@ hotfix/1.14.1GA</description>
<submoduleCfg class="list"/> <submoduleCfg class="list"/>
<extensions/> <extensions/>
</scm> </scm>
<assignedNode>MAX</assignedNode> <assignedNode>MAC_BUILD_Machine</assignedNode>
<canRoam>false</canRoam> <canRoam>false</canRoam>
<disabled>false</disabled> <disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
...@@ -60,32 +60,7 @@ hotfix/1.14.1GA</description> ...@@ -60,32 +60,7 @@ hotfix/1.14.1GA</description>
<concurrentBuild>false</concurrentBuild> <concurrentBuild>false</concurrentBuild>
<builders> <builders>
<hudson.tasks.Shell> <hudson.tasks.Shell>
<command>PATH=&quot;$PATH:/usr/local/bin:/Users/scott/.fastlane/bin/&quot; <command>sh jenkins_android_uat.sh ${CODE_PUSH}</command>
#security set-key-partition-list -S apple: -k Yonglinit123 -D &quot;iPhone Distribution: YONGLIN YONGLIN BIOTECH CORP.&quot; -t private
npm install
RNFB_ANDROID_PERMISSIONS=true
#react-native link
export VERSION=UAT_$(grep appVersion appConfig.json|cut -d&apos;&quot;&apos; -f4)_$(git rev-parse --short HEAD)
MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --)
sed -i &apos;&apos; &quot;/url/s/\&apos;.*\&apos;;/\&apos;http:\/\/10.32.86.136\/CRM\/\&apos;;/&quot; app/configs/constant/urls.js
sed -i &apos;&apos; &quot;/version/s/\&apos;.*\&apos;;/\&apos;${VERSION}\&apos;;/&quot; app/configs/constant/urls.js
sed -i &apos;&apos; &quot;/modifiedTime/s/\&apos;.*\&apos;;/\&apos;${MODIFIED_DATE}\&apos;;/&quot; app/configs/constant/urls.js
export ANDROID_HOME=~/Library/Android/sdk
bundle update
bundle exec fastlane android uat
</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>VERSION=UAT_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --)
NAME=CRM_Mobile
mv android/app/build/outputs/apk/releaseUAT/app-releaseUAT.apk ~/Sites/${NAME}_${VERSION}.apk
scp ~/Sites/${NAME}_${VERSION}.* appuploader@10.57.117.135:~/app/crm/</command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
<hudson.plugins.parameterizedtrigger.TriggerBuilder plugin="parameterized-trigger@2.35.2"> <hudson.plugins.parameterizedtrigger.TriggerBuilder plugin="parameterized-trigger@2.35.2">
<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