On Azure TFS on-premise, we can add projects (or repositories) mainly of two types – Git based and TFS based. In Embold, you can add both the types (support for Embold Windows installer only).
Git-based repositories
There are two ways for adding Git-based repositories to Embold:
– Using Password (instead of Personal Access Token unlike Azure TFS cloud)
– Using SSH public keys
Using Passwords
1. Log in to your Azure TFS Server (newly known as AzureDevOps Server)
2. Select the required private Git based project.
8. Choose Project > GitBased > Code.
9. On the top right corner of the dashboard, click Clone.
10. Click to copy the clone URL.
11. Log in to your Embold account.
12. Choose Project > Link Repositories.
The Link Repositories popup is displayed.
13. Select Repository Type as git.
14. In the URL field, paste the clone URL.
15. In the Password field, enter your Azure TFS account password.
16. In the Repository Name field, enter the repository name.
17. Select the Language from the drop-down menu.
18. Click Link Repository.
You have successfully added a Git-based repository to Embold using username and account password.
Using SSH public keys
Following steps will help you in creating the SSH public key and adding the repositories in Embold using this key.
1. Log in to your Azure TFS Server (newly known as AzureDevOps Server)
2. On the top right corner of the dashboard, choose Account > Security to view the Security page.
3. On the left pane of the Security page, select SSH public keys.
4. The SSH public keys page is displayed, click Add.
5. On the SSH public key page, add a name for the key in the description field.
6. In the Key Data field, paste your public key.
7. Click Save.
8. Choose Project > GitBased > Code.
9. On the top right corner of the dashboard, click Clone.
10. Click on the SSH tab.
11. Click to copy the clone URL.
12. Log in to your Embold account.
13. Choose Project > Link Repositories.
14. Select Repository type as Git.
15. In the URL field, paste the clone URL.
16. Check the SSH check box to enable the SSH key field.
17. In the SSH key field, paste your private key and enter passphrase (if applicable).
18. In the Repository Name field, enter the repository name.
19. Select the Language from the drop-down menu.
20. Click Link Repository.
You have successfully added a Git repository to Embold using SSH.
Adding TFS-based on-premise repositories
1. Log in to your Azure TFS Server (newly known as AzureDevOps Server)
2. Choose Project >TFVCBased > Code.
3. Copy the URL from the Azure TFS Server Administrator Console (as shown in the screenshot below)
Note: Copy the entire URL with trailing slash and use it at step 7.
4. Log in to your Embold account.
5. Choose Project > Link Repositories.
6. On the Link Repositories popup, click Repository type as tfs from the drop-down list.
7. In the URL field, paste the URL (copied at step 3).
8. Go to your Azure TFS on-premise server and click below the menu bar to view the Project path, copy it. Note that, Do not copy the dollar ($) and forward slash (/) sign that appears at the beginning of the project path. (refer screenshot below)
9. In the Project path field, enter the Project path (copied at step 8 above).
10. In the Username and Password field, enter your Azure TFS account username and password. Note that, for Azure TFS on-premise server instead of Personal Access Token use Password.
Note: You can add machine based and domain-based credentials in the user name and password field.
11. In the Repository Name field, enter the repository name.
12. Select the Language from the drop-down menu.
13. Click Link Repository.
You have successfully added TFS-based on-premise repository to Embold using on-premise TFS.