Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jenkins
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ym
jenkins
Commits
06ff51f5
Commit
06ff51f5
authored
Jun 10, 2019
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20170121: Job [CRM_Mobile_Prod_apk_CodePush] configuration updated
Change performed by §N¨ήS
parent
4e61c3e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
11 deletions
+19
-11
jobs/CRM_Mobile_Prod_apk_CodePush/config.xml
jobs/CRM_Mobile_Prod_apk_CodePush/config.xml
+19
-11
No files found.
jobs/CRM_Mobile_Prod_apk_CodePush/config.xml
View file @
06ff51f5
...
@@ -55,6 +55,12 @@ hotfix/1.15.1GA</description>
...
@@ -55,6 +55,12 @@ hotfix/1.15.1GA</description>
<defaultValue>
master
</defaultValue>
<defaultValue>
master
</defaultValue>
<trim>
false
</trim>
<trim>
false
</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
<hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition
plugin=
"global-variable-string-parameter@1.2"
>
<name>
CODE_PUSH
</name>
<description></description>
<defaultValue>
chm
</defaultValue>
<trim>
false
</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
</parameterDefinitions>
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
</hudson.model.ParametersDefinitionProperty>
<jenkins.model.BuildDiscarderProperty>
<jenkins.model.BuildDiscarderProperty>
...
@@ -83,7 +89,7 @@ hotfix/1.15.1GA</description>
...
@@ -83,7 +89,7 @@ hotfix/1.15.1GA</description>
<submoduleCfg
class=
"list"
/>
<submoduleCfg
class=
"list"
/>
<extensions/>
<extensions/>
</scm>
</scm>
<assignedNode>
M
ac_Nod
e
</assignedNode>
<assignedNode>
M
AC_BUILD_Machin
e
</assignedNode>
<canRoam>
false
</canRoam>
<canRoam>
false
</canRoam>
<disabled>
false
</disabled>
<disabled>
false
</disabled>
<blockBuildWhenDownstreamBuilding>
false
</blockBuildWhenDownstreamBuilding>
<blockBuildWhenDownstreamBuilding>
false
</blockBuildWhenDownstreamBuilding>
...
@@ -92,19 +98,21 @@ hotfix/1.15.1GA</description>
...
@@ -92,19 +98,21 @@ hotfix/1.15.1GA</description>
<concurrentBuild>
false
</concurrentBuild>
<concurrentBuild>
false
</concurrentBuild>
<builders>
<builders>
<hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>
npm install
<command>
sh jenkins_android_prod.sh ${CODE_PUSH}
'
code-push
'
RNFB_ANDROID_PERMISSIONS=true
#react-native link
#npm install
#RNFB_ANDROID_PERMISSIONS=true
##react-native link
export VERSION=Prod_$(grep appVersion appConfig.json|cut -d
'"'
-f4)_$(git rev-parse --short HEAD)
#
export VERSION=Prod_$(grep appVersion appConfig.json|cut -d
'"'
-f4)_$(git rev-parse --short HEAD)
MODIFIED_DATE=$(git log -1 --format=
"
%ci
"
--)
#
MODIFIED_DATE=$(git log -1 --format=
"
%ci
"
--)
sed -i
''
"
/url/s/\
'
.*\
'
;/\
'
https:\/\/chm.foxconn.com\/CRM\/\
'
;/
"
app/configs/constant/urls.js
#
sed -i
''
"
/url/s/\
'
.*\
'
;/\
'
https:\/\/chm.foxconn.com\/CRM\/\
'
;/
"
app/configs/constant/urls.js
sed -i
''
"
/version/s/\
'
.*\
'
;/\
'
${VERSION}\
'
;/
"
app/configs/constant/urls.js
#
sed -i
''
"
/version/s/\
'
.*\
'
;/\
'
${VERSION}\
'
;/
"
app/configs/constant/urls.js
sed -i
''
"
/modifiedTime/s/\
'
.*\
'
;/\
'
${MODIFIED_DATE}\
'
;/
"
app/configs/constant/urls.js
#
sed -i
''
"
/modifiedTime/s/\
'
.*\
'
;/\
'
${MODIFIED_DATE}\
'
;/
"
app/configs/constant/urls.js
sed -i
''
"
s/piwikSiteId_ios =.*/piwikSiteId_ios = 6;/ ;s/piwikSiteId_android =.*/piwikSiteId_android = 7;/
"
app/configs/constant/urls.js
#
sed -i
''
"
s/piwikSiteId_ios =.*/piwikSiteId_ios = 6;/ ;s/piwikSiteId_android =.*/piwikSiteId_android = 7;/
"
app/configs/constant/urls.js
appcenter codepush release-react -a h2uclub/CRM_Mobile_Android -m -d Production
#
appcenter codepush release-react -a h2uclub/CRM_Mobile_Android -m -d Production
</command>
</command>
</hudson.tasks.Shell>
</hudson.tasks.Shell>
</builders>
</builders>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment