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

20170121: Job [CRM_Mobile_Prod_apk_CodePush] configuration updated

Change performed by §N¨ήS
parent 1f9c82cf
......@@ -56,7 +56,8 @@ hotfix/1.15.1GA</description>
<builders>
<hudson.tasks.Shell>
<command>npm install
RNFB_ANDROID_PERMISSIONS=true react-native link
RNFB_ANDROID_PERMISSIONS=true
#react-native link
VERSION=Prod_$(date +%Y%m%d%H)_$(git rev-parse --short HEAD)
MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --)
......@@ -66,7 +67,7 @@ sed -i &apos;&apos; &quot;/version/s/\&apos;.*\&apos;;/\&apos;${VERSION}\&apos;;
sed -i &apos;&apos; &quot;/modifiedTime/s/\&apos;.*\&apos;;/\&apos;${MODIFIED_DATE}\&apos;;/&quot; app/configs/constant/urls.js
sed -i &apos;&apos; &quot;s/piwikSiteId_ios =.*/piwikSiteId_ios = 6;/ ;s/piwikSiteId_android =.*/piwikSiteId_android = 7;/&quot; app/configs/constant/urls.js
appcenter codepush release-react -a h2uclub/CRM_Mobile_Android -d Production
appcenter codepush release-react -a h2uclub/CRM_Mobile_Android -m -d Production
</command>
</hudson.tasks.Shell>
</builders>
......
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