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
05451ef7
Commit
05451ef7
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
29b29b40
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
jobs/Hi365_iOS/config.xml
jobs/Hi365_iOS/config.xml
+16
-4
No files found.
jobs/Hi365_iOS/config.xml
View file @
05451ef7
...
...
@@ -58,14 +58,19 @@
<concurrentBuild>
false
</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>
# security set-key-partition-list -S apple-tool:,apple: -s -k
"
password
"
~/Library/Keychains/login.keychain-db
project_path=$(pwd)
<command>
project_path=$(pwd)
flutter build ios
cd $project_path/ios
now=$(date +
"
%Y_%m_%d_%H:%M
"
)
scheme=
"
Runner
"
# package configuration for fastlane
configuration=${BUILD_TYPE}
# export methods supports app-store, package, ad-hoc, enterprise, development, 和developer-id,即xcodebuild的method引數
if [ $BUILD_TYPE ==
"
Release
"
]
then
...
...
@@ -76,26 +81,33 @@ then
else
export_method=
"
development
"
fi
# iOS project path
workspace_path=
"
${project_path}/ios/Runner.xcodeproj
"
# ipa export folder
rm -rf
"
${project_path}/ipa
"
mkdir -p
"
${project_path}/ipa
"
output_path=
"
${project_path}/ipa
"
# project archive path
archive_path=
"
$output_path/hi365_${export_method}_${now}.xcarchive
"
# ipa export path
ipa_path=
"
$output_path/hi365_${BUILD_TYPE}_${BUILD_BRANCH}_${BUILD_REPOSITORY}_${now}.ipa
"
# ipa name
ipa_name=
"
Hi365_${BUILD_TYPE}_${BUILD_BRANCH}_${now}.ipa
"
commit_msg=
"
$1
"
# Show settings
# show env settings
echo
"
===workspace path: ${workspace_path}===
"
echo
"
===archive path: ${archive_path}===
"
echo
"
===ipa path: ${ipa_path}===
"
echo
"
===export method: ${export_method}===
"
echo
"
===commit msg: $1===
"
# Clean build
# Clean build and deploy
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
...
...
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