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

scott: Job [CRM_Mobile_SIT_apk_CodePush] configuration updated

Change performed by ·¨¼y°ó
parent 268e56c9
...@@ -35,7 +35,7 @@ hotfix/1.47.1</description> ...@@ -35,7 +35,7 @@ hotfix/1.47.1</description>
</parameterDefinitions> </parameterDefinitions>
</hudson.model.ParametersDefinitionProperty> </hudson.model.ParametersDefinitionProperty>
</properties> </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> <configVersion>2</configVersion>
<userRemoteConfigs> <userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig> <hudson.plugins.git.UserRemoteConfig>
...@@ -62,7 +62,8 @@ hotfix/1.47.1</description> ...@@ -62,7 +62,8 @@ hotfix/1.47.1</description>
<builders> <builders>
<hudson.tasks.Shell> <hudson.tasks.Shell>
<command>npm install <command>npm install
RNFB_ANDROID_PERMISSIONS=true react-native link RNFB_ANDROID_PERMISSIONS=true
#react-native link
VERSION=SIT_$(date +%Y%m%d%H)_$(git rev-parse --short HEAD) VERSION=SIT_$(date +%Y%m%d%H)_$(git rev-parse --short HEAD)
MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --) MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --)
...@@ -71,17 +72,11 @@ sed -i &apos;&apos; &quot;/url/s/\&apos;.*\&apos;;/\&apos;http:\/\/${API_SERVER} ...@@ -71,17 +72,11 @@ sed -i &apos;&apos; &quot;/url/s/\&apos;.*\&apos;;/\&apos;http:\/\/${API_SERVER}
sed -i &apos;&apos; &quot;/version/s/\&apos;.*\&apos;;/\&apos;${VERSION}\&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 sed -i &apos;&apos; &quot;/modifiedTime/s/\&apos;.*\&apos;;/\&apos;${MODIFIED_DATE}\&apos;;/&quot; app/configs/constant/urls.js
code-push release-react CRM_Mobile_android android -m -d Staging appcenter codepush release-react -a h2uclub/CRM_Mobile_Android -d Staging
</command> </command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
</builders> </builders>
<publishers> <publishers/>
<hudson.tasks.Mailer plugin="mailer@1.23">
<recipients>$RD_Group $QA_Group</recipients>
<dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
<sendToIndividuals>false</sendToIndividuals>
</hudson.tasks.Mailer>
</publishers>
<buildWrappers> <buildWrappers>
<hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.37"> <hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.37">
<deleteDirs>false</deleteDirs> <deleteDirs>false</deleteDirs>
......
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