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
1fc788a3
Commit
1fc788a3
authored
Jun 10, 2019
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20170121: Job [CRM_Mobile_UAT_apk_CodePush] configuration updated
Change performed by §N¨ήS
parent
643c3daf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
21 deletions
+15
-21
jobs/CRM_Mobile_UAT_apk_CodePush/config.xml
jobs/CRM_Mobile_UAT_apk_CodePush/config.xml
+15
-21
No files found.
jobs/CRM_Mobile_UAT_apk_CodePush/config.xml
View file @
1fc788a3
...
...
@@ -4,14 +4,6 @@
<description></description>
<keepDependencies>
false
</keepDependencies>
<properties>
<jenkins.model.BuildDiscarderProperty>
<strategy
class=
"hudson.tasks.LogRotator"
>
<daysToKeep>
3
</daysToKeep>
<numToKeep>
-1
</numToKeep>
<artifactDaysToKeep>
-1
</artifactDaysToKeep>
<artifactNumToKeep>
-1
</artifactNumToKeep>
</strategy>
</jenkins.model.BuildDiscarderProperty>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty
plugin=
"gitlab-plugin@1.5.12"
>
<gitLabConnection>
ylhealth
</gitLabConnection>
</com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
...
...
@@ -25,8 +17,22 @@ release/1.15GA
<defaultValue>
release/1.55
</defaultValue>
<trim>
false
</trim>
</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>
</hudson.model.ParametersDefinitionProperty>
<jenkins.model.BuildDiscarderProperty>
<strategy
class=
"hudson.tasks.LogRotator"
>
<daysToKeep>
3
</daysToKeep>
<numToKeep>
-1
</numToKeep>
<artifactDaysToKeep>
-1
</artifactDaysToKeep>
<artifactNumToKeep>
-1
</artifactNumToKeep>
</strategy>
</jenkins.model.BuildDiscarderProperty>
</properties>
<scm
class=
"hudson.plugins.git.GitSCM"
plugin=
"git@3.10.0"
>
<configVersion>
2
</configVersion>
...
...
@@ -58,19 +64,7 @@ release/1.15GA
<concurrentBuild>
false
</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>
npm install
RNFB_ANDROID_PERMISSIONS=true
#react-native link
export VERSION=UAT_$(grep appVersion appConfig.json|cut -d
'"'
-f4)_$(git rev-parse --short HEAD)
MODIFIED_DATE=$(git log -1 --format=
"
%ci
"
--)
sed -i
''
"
/url/s/\
'
.*\
'
;/\
'
http:\/\/10.32.86.136\/CRM\/\
'
;/
"
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
appcenter codepush release-react -a h2uclub/CRM_Mobile_Android -m -d UAT
</command>
<command>
sh jenkins_android_uat.sh ${CODE_PUSH}
</command>
</hudson.tasks.Shell>
</builders>
<publishers>
...
...
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