> For the complete documentation index, see [llms.txt](https://frost.gitbook.io/iosbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://frost.gitbook.io/iosbook/jenkins-1/jenkins/jenkins-integration-with-git.md).

# \[Jenkins] 3. Integration with Git

(1.) Install Xcode plugins and Git plugins

install Xcode integration, GitLab, Gitlab Authentication, Keychains and Provisioning Profiles Management.

![](https://1235580532-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHkCJzI8ydp2uTYXgFk%2F-LI1nU-FjOqyB1vaSZ31%2F-LI1nmJ6G36nitE-CZjd%2Fimage.png?alt=media\&token=4ef5090d-3aaf-4c4d-a1ea-ea115934b0cc)

​

(2.) Create a project with Free-Style configuration

![](https://1235580532-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHkCJzI8ydp2uTYXgFk%2F-LI1nU-FjOqyB1vaSZ31%2F-LI1nvUU1BgHw7wNrnBb%2Fimage.png?alt=media\&token=184aea17-d7ea-4bc7-bea3-780bfc673a40)

​

(3.) Select Git on Source Code Management page, enter the Repository URL from your git project. (recommend SSH)

![](https://1235580532-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHkCJzI8ydp2uTYXgFk%2F-LI1nU-FjOqyB1vaSZ31%2F-LI1ny_ll_VKeNNoQVND%2Fimage.png?alt=media\&token=8a36da61-8e1b-4f78-a1c4-10d70014f7db)

​

(4.) Add a credential

select SSH User Name With Private Key and enter your SSH private key.

you can use below command to copy your SSH private key:

```
pbcopy < ~/.ssh/id_rsa
```

![](https://1235580532-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHkCJzI8ydp2uTYXgFk%2F-LI1nU-FjOqyB1vaSZ31%2F-LI1o2L_DHubx6fou0iy%2Fimage.png?alt=media\&token=3b3ebc28-b011-4251-a444-af1f38026a55)

​

(5.) Select your credential and you will get this screen

![](https://1235580532-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHkCJzI8ydp2uTYXgFk%2F-LI1nU-FjOqyB1vaSZ31%2F-LI1o4uzNi76rG-1zmgl%2Fimage.png?alt=media\&token=ec78990f-c5da-498a-8835-e969660806da)
