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
6008d692
Commit
6008d692
authored
May 28, 2019
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20170121: Job [HRB_Mobile_SIT_JV_ipa] configuration updated
Change performed by §N¨ήS
parent
ac1e6e83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
jobs/HRB_Mobile_SIT_JV_ipa/config.xml
jobs/HRB_Mobile_SIT_JV_ipa/config.xml
+12
-10
No files found.
jobs/HRB_Mobile_SIT_JV_ipa/config.xml
View file @
6008d692
...
...
@@ -35,7 +35,7 @@ hotfix/1.43.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>
...
...
@@ -52,7 +52,7 @@ hotfix/1.43.1</description>
<submoduleCfg
class=
"list"
/>
<extensions/>
</scm>
<assignedNode>
MAC
_BUILD_Machine
</assignedNode>
<assignedNode>
IPA
_BUILD_Machine
</assignedNode>
<canRoam>
false
</canRoam>
<disabled>
false
</disabled>
<blockBuildWhenDownstreamBuilding>
false
</blockBuildWhenDownstreamBuilding>
...
...
@@ -64,12 +64,18 @@ hotfix/1.43.1</description>
<command>
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
PATH=
"
$PATH:/usr/local/bin:/Users/jenkins/.fastlane/bin/
"
PATH=
"
$PATH:
$HOME/.rvm/bin:
/usr/local/bin:/Users/jenkins/.fastlane/bin/
"
VERSION=SIT_JV_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
MODIFIED_DATE=$(git log -1 --format=
"
%ci
"
--)
npm install --update-binary
# 加速打包,正式時還是要包
GYM_INCLUDE_SYMBOLS=false
GYM_INCLUDE_BITCODE=false
gem install bundler
bundler install
npm i
sed -i
''
"
/url/s/http.*\//http:\/\/${API_SERVER}\//g
"
src/configs/index.js
sed -i
''
"
/version/s/\
'
.*\
'
;/\
'
${VERSION}\
'
;/
"
src/configs/index.js
sed -i
''
"
/modifiedTime/s/\
'
.*\
'
;/\
'
${MODIFIED_DATE}\
'
;/
"
src/configs/index.js
...
...
@@ -78,11 +84,8 @@ sed -i '' "/unitStandard/s/\'.*\';/\'USCU\';/
sed -i
''
"
/allergyUrl/s/\__DEV__.*\
'
;/\
'
http:\/\/${API_SERVER}\/\
'
;/
"
src/configs/index.js
sed -i
''
'
s/appVersion.*/appVersion
"
:
"
1.27
"
/
'
appConfig.json
# RN0.57.8 modify(HA-1058), after RN0.58 will remove this command
sed -i
""
'
s/NSUInteger loopCount = 0;/CGFloat loopCount = 0;/
'
node_modules/react-native/Libraries/Image/RCTGIFImageDecoder.m
security set-key-partition-list -S apple: -k Yonglinit123 -D
"
iPhone Distribution: YONGLIN YONGLIN BIOTECH CORP.
"
-t private
#
security set-key-partition-list -S apple: -k Yonglinit123 -D
"
iPhone Distribution: YONGLIN YONGLIN BIOTECH CORP.
"
-t private
npm run build-thread-ios
bundle exec fastlane ios beta
</command>
...
...
@@ -93,8 +96,7 @@ MODIFIED_DATE=$(git log -1 --format="%ci" --)
NAME=HRB_Mobile
mv ~/jenkins/workspace/HRB_Mobile_SIT_JV_ipa/$NAME.ipa ~/Sites/${NAME}_${VERSION}.ipa
scp ~/Sites/${NAME}_${VERSION}.ipa appuploader@10.57.117.135:~/app/jv/
</command>
scp -i ~/jenkins/jenkins ~/Sites/${NAME}_${VERSION}.ipa appuploader@10.57.117.135:~/app/jv/
</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