Azure Devops (VSTS) Setup
Below is a step-by-step guide for adding your repos from your Microsoft Visual Studios Team Services account via SSH or HTTPS. In the examples below we are illustrating how to add a VSTS repo via SSH. Use this help doc for adding repos via HTTPS.
Adding a Single Repo
Step 1: To add your first repository to GitPrime, copy your SSH or HTTPS clone URL from your VSTS repository.
Step 2: In GitPrime, starting on your Home page go to the left navigation bar. At the bottom go to Services then select Integrations.
Step 3: Select the Add Integration button in the top right hand corner of your Integrations screen.
Step 4: On the following page select the Generic Repo from the Integration Provider list and click Next.
Step 5: Click on the SSH tab, input your SSH clone URL then click Get Keypair.
Step 6: Click Copy public key to your clipboard.
Step 7: In VSTS click on Security (1) and then SSH public keys (2) and finally click Add (3).
Step 8: The SSH key you copied from GitPrime is on your clipboard, you will need to complete the following form fields and click Save.
- Add a descriptive title to remember what the SSH key goes to
- Paste the SSH key
- Click Save
Step 9: Navigate back to GitPrime and check I installed the key and click Test connection.
Step 10: If your connection was successful you will see the following message:
If you see this error, double check to ensure the SSH clone URL is correct and try importing it again.
Please allow a couple hours to a day, depending on the size of the repo and the commits, for your repo to fully process. Commits are processed in reverse chronological order during this time.
If you are still having issues email us at firstname.lastname@example.org or click on the chat link in the bottom right corner of your screen.
Step 11: If your connection was successful, click Next.
Step 12: On the next screen you will be selecting the services you want turned on for this Integration. For SSH imports, repo services is your only option. Ensure the repo service is “On” and click Next.
Step 13: Next, you will want to name your Integration. In this example we named it “VSTS Rep via SSH”. Click Create.
Step 14: You have successfully created a new Integration and imported your repo via SSH.
Step 15: To view your imported repo click on the Find your imported repos here link under the Repos tab on your Integration page. To learn more about managing your new Integration settings, see Managing Integrations.
Bulk Importing your VSTS Repos
If you need to import multiple repos, follow the steps in this SSH tutorial to bulk import your repos. You will need to prepare a .csv file with a list of all of the SSH clone URLs of the repos you would like to import.
Want someone from our team to walk you through connecting your VSTS repos to GitPrime? Email us at email@example.com or click on the chat icon in the bottom right corner of your screen.