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
ced22349
Commit
ced22349
authored
Sep 11, 2019
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20180082: Job [Hi365_iOS] configuration updated
Change performed by ³¯¾_¶§
parent
992c758f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
jobs/Hi365_iOS/config.xml
jobs/Hi365_iOS/config.xml
+4
-3
No files found.
jobs/Hi365_iOS/config.xml
View file @
ced22349
...
...
@@ -70,7 +70,7 @@ current_date=$(date +"%Y%m%d")
app_version=$(grep
'
version:
'
${project_path}/pubspec.yaml | cut -d
'
'
-f2)
git_short_hash=$(
echo ${GIT_COMMIT}|cut -c1-8
)
git_short_hash=$(
git rev-parse --short HEAD
)
scheme=
"
Runner
"
...
...
@@ -100,7 +100,7 @@ output_path="${project_path}/ipa"
archive_path=
"
$output_path/hi365_${export_method}_${now}.xcarchive
"
# ipa export path
ipa_path=
"
$output_path/
hi365_${app_version
}.ipa
"
ipa_path=
"
$output_path/
Hi365_SIT_${current_date}_${git_short_hash
}.ipa
"
# ipa name
ipa_name=
"
Hi365_SIT_${current_date}_${git_short_hash}.ipa
"
...
...
@@ -117,7 +117,8 @@ echo "===commit msg: $1==="
fastlane gym --scheme ${scheme} --clean --configuration ${configuration} --archive_path ${archive_path} --export_method ${export_method} --output_directory ${output_path} --output_name ${ipa_name}
if [ ${export_method} !=
"
app-store
"
]
then
echo
"
TODO: Publish to a place where user can download
"
echo
"
Deploy to IPA repository
"
scp -i ~/jenkins/jenkins ${ipa_path} appuploader@10.57.117.135:~/app/Hi365/${ipa_name}_${VERSION}
fi
</command>
</hudson.tasks.Shell>
</builders>
...
...
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