jenkins+ Private Git+xcode Packaging IPA summary

Source: Internet
Author: User

Learn from Blogs:

[Teach you to use Jenkins to continuously integrate iOS projects] (http://www.jianshu.com/p/41ecb06ae95f)

[Jenkins Summary: Git IOS on Mac Auto-pack] (http://www.jianshu.com/p/8d4452c6f17e)

Objective:

Recently need to study Jenkins packaging, online blog a lot, but it is inevitable that the process is not suitable for their own situation, the following is my blog based on the above experience, after some pits using jenkins+ private git+xcode Environment Packaging IPA

Installation

My installation here is to go to [official website] (https://jenkins.io/index.html) Download the latest version. War Package, by

' Java-jar Jenkins.war '

Command installation

Note: I have encountered an installation problem

At the beginning I was downloading the. pkg file for installation, with the. DMG installation, the system will generate another user named Jenkins, you will encounter many permissions class issues

Issue 1: Incorrect password input when switching Jenkins user

FIX: Reset Jenkins password at current user

Terminal input ' sudo passwd Jenkins '

Issue 2: No read and Write permissions

FIX: Right-click the folder, share and permissions, and modify after unlocking

Issue 3: Configure unlock Keychain When you enter the password is not correct

FIX: At that time modified many password, is unlock keychain error, later use ' Java-jar Jenkins.war ' installation method, enter the same password, inexplicably good

Problem 4:jenkins when it's time to pack permissions, and so on.

Most of the problem is the permission class, and then replace the installation method, it is good, tears ah ...

Add plugins and create projects

This step a lot of blog written very detailed

Configuration issues for GIT code warehouse private projects

At that time Watch blog did not find the details of private git configuration, hard to toss half a day, always go to git

Resolution and configuration:

Terminal input

' CD ~/.ssh '

' Ssh-keygen-t rsa-c ' your e-mail address '

Id_rsa and id_rsa.pub files are then generated under the ~/.ssh directory

Enter the ~/.ssh file using

The ' cat id_rsa ' command gets the private key in the config-place key option,

' Cat id_rsa.pub ' gets the public key in the Git configuration

Keychain Path of the input

${home}/library/keychains/login.keychain

Xcode Build

When the Xcode certificate is configured, it can be configured directly by other blogs and packaged

The project has workpace time to build

When constructing, choose Execute SHLL input pod install

jenkins+ Private Git+xcode Packaging IPA summary

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.