jenkins+ xcode+ Dandelion for iOS automated packaging and distribution

Source: Internet
Author: User

jenkins+ xcode+ Dandelion for iOS automated packaging and distribution

Direct entry:


Screen Shot 2015-09-18 on 16.56.20.PNGMAC installation Jekins

jekins:http://jenkins-ci.org/, select Mac to install directly. After the installation is successful. Access to http://localhost is normally accessible.

Installing Jekins related Plugins

Certificate Management Plug-in
1.https://wiki.jenkins-ci.org/display/jenkins/keychains+and+provisioning+profiles+plugin# Keychainsandprovisioningprofilesplugin-uploadkeychainandprovisioningprofilefilessection

Xcode Plugin
2.https://wiki.jenkins-ci.org/display/jenkins/xcode+plugin#xcodeplugin-installationguide

Script Execution Plugin
3.https://wiki.jenkins-ci.org/display/jenkins/postbuildscript+plugin

Git plugin
4.https://wiki.jenkins-ci.org/display/jenkins/git+plugin

iOS certificate management and Remediation

1. Click Manage jenkins-> [keychains and Provisioning Profiles Management] to enter the following page


Screen Shot 2015-09-18 at 15.49.30.png

2. Click Choose File and upload the current logged-on user's ~/library/keychain/login.keychain files.
When the upload succeeds, it will appear:


Screen Shot 2015-09-18 at 15.55.05.png

Add the corresponding signature by clicking Add Code Signing Identity

3. Upload the Provisioning Profiles file, Xcode's profile is stored in ~/library/mobiledevice/provisioning profiles/, find the profiles you want, upload


Screen Shot 2015-09-18 at 16.04.46.png
这步很重要,如果证书出错请查看:http://www.cnblogs.com/qingjoin/p/3929493.html
New Project

1.New Item--Select Freestyle project
2. Associating git


Screen Shot 2015-09-18 at 16.27.12.png

Related configuration of 3.Xcode


Screen Shot 2015-09-18 at 16.29.41.png
Screen Shot 2015-09-18 at 16.29.55.png
Screen Shot 2015-09-18 at 16.30.02.png

4.ipa upload to dandelion and send mail


Screen Shot 2015-09-18 at 16.30.40.png

5. The address of the relevant Python file is:
https://github.com/caiwenshu/CI_pgy/blob/master/pgy_upload_temp.py

The code references from: http://www.cocoachina.com/ios/20150428/11698.html

Original HTTP://WWW.JIANSHU.COM/P/371595EF08FE

jenkins+ xcode+ Dandelion for iOS automated packaging and distribution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.