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
f2c0865b
Commit
f2c0865b
authored
May 28, 2019
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20170121: Job [HRB_Mobile_Other_apk] configuration updated
Change performed by §N¨ήS
parent
c123c3f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
15 deletions
+21
-15
jobs/HRB_Mobile_Other_apk/config.xml
jobs/HRB_Mobile_Other_apk/config.xml
+21
-15
No files found.
jobs/HRB_Mobile_Other_apk/config.xml
View file @
f2c0865b
...
...
@@ -5,15 +5,7 @@
只打包 APK, 不做Code Push
</description>
<keepDependencies>
false
</keepDependencies>
<properties>
<jenkins.model.BuildDiscarderProperty>
<strategy
class=
"hudson.tasks.LogRotator"
>
<daysToKeep>
-1
</daysToKeep>
<numToKeep>
5
</numToKeep>
<artifactDaysToKeep>
-1
</artifactDaysToKeep>
<artifactNumToKeep>
-1
</artifactNumToKeep>
</strategy>
</jenkins.model.BuildDiscarderProperty>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty
plugin=
"gitlab-plugin@1.5.11"
>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty
plugin=
"gitlab-plugin@1.5.12"
>
<gitLabConnection>
ylhealth
</gitLabConnection>
</com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
<hudson.model.ParametersDefinitionProperty>
...
...
@@ -26,7 +18,7 @@ feature/HA-818
develop
commitId
4c1966d510b71fdf3ec67807321a385c5378cf86
</description>
<defaultValue>
feature/HA-1
053
</defaultValue>
<defaultValue>
feature/HA-1
112
</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"
>
...
...
@@ -49,8 +41,16 @@ commitId
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
<jenkins.model.BuildDiscarderProperty>
<strategy
class=
"hudson.tasks.LogRotator"
>
<daysToKeep>
-1
</daysToKeep>
<numToKeep>
5
</numToKeep>
<artifactDaysToKeep>
-1
</artifactDaysToKeep>
<artifactNumToKeep>
-1
</artifactNumToKeep>
</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>
...
...
@@ -67,7 +67,7 @@ commitId
<submoduleCfg
class=
"list"
/>
<extensions/>
</scm>
<assignedNode>
M
AC_BUILD_Machine
</assignedNode>
<assignedNode>
M
ac_Node2
</assignedNode>
<canRoam>
false
</canRoam>
<disabled>
false
</disabled>
<blockBuildWhenDownstreamBuilding>
false
</blockBuildWhenDownstreamBuilding>
...
...
@@ -76,10 +76,17 @@ commitId
<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_${DownloadName}_$(date +%Y%m%d)
MODIFIED_DATE=$(git log -1 --format=
"
%ci
"
--)
# 加速打包,正式時還是要包
GYM_INCLUDE_SYMBOLS=false
GYM_INCLUDE_BITCODE=false
gem install bundler
bundler install
yarn install
sed -i
''
"
/url/s/http.*\//${HTT_PROTOCOL}:\/\/${API_SERVER}\//g
"
src/configs/index.js
...
...
@@ -90,7 +97,6 @@ sed -i '' 's/appVersion.*/appVersion": "1.27"/&apo
export ANDROID_HOME=/Users/jenkins/Library/Android/sdk
##npm run bundle-worker-android
npm run build-thread-android
bundle exec fastlane android beta
</command>
...
...
@@ -101,7 +107,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}.ipa
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