Skip to content

Latest commit

 

History

History
103 lines (67 loc) · 3.03 KB

File metadata and controls

103 lines (67 loc) · 3.03 KB

Adding a Bitbucket Repository

If your repository lives in Bitbucket, you can connect your repository automatically, or connect via SSH if you prefer.

If you prefer SSH, buddybuild will automatically generate a secure SSH key for you to install into your source control system. Buddybuild will use this key to clone your repository.

{% include "../../_common/important-ssh_access.adoc" %}

Let’s get started!

Step 1: Enter the SSH Git Clone URL

Head over to Bitbucket and find the repository you would like to connect with buddybuild. Within the main page of that repository, look to the top-right for HTTPS URL. Click on the HTTPS dropdown menu and select SSH.

A Bitbucket project screen, selecting SSH

Highlight and copy the SSH URL.

A Bitbucket project screen, copying the clone URL

Head over to dashboard, visit Select source and choose SSH.

The buddybuild Select source screen

Paste the SSH URL you copied into the Git clone URL field.

The buddybuild Connect another Git service screen

Step 2: Add the SSH Key to Your Bitbucket Account

Highlight and copy the generated SSH key.

The buddybuild Connect another Git service screen, with the SSH selected

Navigate to your Bitbucket Account by first selecting your account photo, and then selecting Settings.

A Bitbucket project screen, with the user account dropdown open

Select SSH keys.

The Bitbucket Settings screen, clicking the SSH keys button

Next, select Add key.

The Bitbucket SSH keys screen

Enter Buddybuild as the title, and paste the copied SSH key into the key field.

The Bitbucket SSH keys screen, pasting the buddybuild SSH key

Next, click Add key.

The Bitbucket SSH keys screen, clicking the Add key button

Warning

Private git submodules and private cocoapods

If your project depends on any code in other private git repos, the SSH key will need to be added to those repos as well.

Navigate back to buddybuild and click on the Build button.

The buddybuild Connect another Git service screen

Buddybuild will checkout your project code and kick off a simulator build. The build should finish within a few seconds.

That’s it. You’re now connected to buddybuild. The next step is to invite testers to try out your App.