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
a572ec85
Commit
a572ec85
authored
May 28, 2019
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20170121: Job [HRB_Mobile_SIT_apk] configuration updated
Change performed by §N¨ήS
parent
d6b0406f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
jobs/HRB_Mobile_SIT_apk/config.xml
jobs/HRB_Mobile_SIT_apk/config.xml
+12
-5
No files found.
jobs/HRB_Mobile_SIT_apk/config.xml
View file @
a572ec85
...
...
@@ -4,7 +4,7 @@
<description>
打包 APK,不做 code push
</description>
<keepDependencies>
false
</keepDependencies>
<properties>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty
plugin=
"gitlab-plugin@1.5.1
1
"
>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty
plugin=
"gitlab-plugin@1.5.1
2
"
>
<gitLabConnection>
ylhealth
</gitLabConnection>
</com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
<hudson.model.ParametersDefinitionProperty>
...
...
@@ -35,7 +35,7 @@ hotfix/1.47.1</description>
</strategy>
</jenkins.model.BuildDiscarderProperty>
</properties>
<scm
class=
"hudson.plugins.git.GitSCM"
plugin=
"git@3.
9.3
"
>
<scm
class=
"hudson.plugins.git.GitSCM"
plugin=
"git@3.
10.0
"
>
<configVersion>
2
</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
...
...
@@ -61,11 +61,18 @@ hotfix/1.47.1</description>
<concurrentBuild>
false
</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>
PATH=
"
$PATH:/usr/local/bin:/Users/jenkins/.fastlane/bin/
"
<command>
PATH=
"
$PATH:
$HOME/.rvm/bin:
/usr/local/bin:/Users/jenkins/.fastlane/bin/
"
VERSION=SIT_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
MODIFIED_DATE=$(git log -1 --format=
"
%ci
"
--)
npm i
# 加速打包,正式時還是要包
GYM_INCLUDE_SYMBOLS=false
GYM_INCLUDE_BITCODE=false
gem install bundler
bundler install
yarn install
sed -i
''
"
/url/s/http.*\//http:\/\/${API_SERVER}\//g
"
src/configs/index.js
sed -i
''
"
/version/s/\
'
.*\
'
;/\
'
${VERSION}\
'
;/
"
src/configs/index.js
...
...
@@ -84,7 +91,7 @@ MODIFIED_DATE=$(git log -1 --format="%ci" --)
NAME=HRB_Mobile
mv android/app/build/outputs/apk/releaseStaging/app-releaseStaging.apk ~/Sites/${NAME}_${VERSION}.apk
scp ~/Sites/${NAME}_${VERSION}.apk appuploader@10.57.117.135:~/app/hrb/
</command>
scp
-i ~/jenkins/jenkins
~/Sites/${NAME}_${VERSION}.apk appuploader@10.57.117.135:~/app/hrb/
</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