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
1b707500
Commit
1b707500
authored
Jun 10, 2019
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20170121: Job [CRM_Mobile_SIT_apk] configuration updated
Change performed by §N¨ήS
parent
98cd69de
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
19 deletions
+7
-19
jobs/CRM_Mobile_SIT_apk/config.xml
jobs/CRM_Mobile_SIT_apk/config.xml
+7
-19
No files found.
jobs/CRM_Mobile_SIT_apk/config.xml
View file @
1b707500
...
...
@@ -24,6 +24,12 @@ hotfix/1.47.1</description>
<defaultValue>
10.32.86.124
</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>
...
...
@@ -61,25 +67,7 @@ hotfix/1.47.1</description>
<concurrentBuild>
false
</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>
sh jenkins_android.sh SIT
sed -i
''
"
/url/s/\
'
.*\
'
;/\
'
http:\/\/${API_SERVER}\/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
export ANDROID_HOME=~/Library/Android/sdk
#rvm use 2.6.0
#bundle update
bundle exec fastlane android beta
</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>
VERSION=SIT_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
MODIFIED_DATE=$(git log -1 --format=
"
%ci
"
--)
NAME=CRM_Mobile
mv android/app/build/outputs/apk/releaseStaging/app-releaseStaging.apk ~/Sites/${NAME}_${VERSION}.apk
scp -i ~/jenkins/jenkins ~/Sites/${NAME}_${VERSION}.apk appuploader@10.57.117.135:~/app/crm/
</command>
<command>
sh jenkins_android_sit.sh ${CODE_PUSH}
</command>
</hudson.tasks.Shell>
<hudson.plugins.parameterizedtrigger.TriggerBuilder
plugin=
"parameterized-trigger@2.35.2"
>
<configs>
...
...
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