This procedure describes how to connect an existing Polaris project to an Azure DevOps (Cloud or Server) repository.
Before you begin, review Integrate Azure DevOps with Polaris. If you're using Azure DevOps Server, that topic explains how to make sure Polaris has network access to your ADO Server instance. Create a personal access token as described in Azure Tokens for SCM Bulk Integration and/or Monitoring before proceeding.
Note: SCA Fix Pull Requests are supported for repositories hosted in Azure DevOps Cloud and Azure DevOps Server. For Azure DevOps Server integrations, Polaris creates the pull request over the Secure Tunnel that connects it to your repository. See SCA Fix Pull Requests.
Naming imported repositories
Important: When you import a Git repository from a third-party SCM provider into your Azure DevOps project, Azure DevOps may append ".git" to the end of the repository's name. When this occurs, Polaris will not accept the repository's URL.
To rename an imported repository, follow these steps:
- In Azure DevOps, select .
- At the top of the page, open the menu that displays the name of the current repository and select Manage repositories.
- For the repo you want to rename, select .
- Remove
.gitfrom the repository's name and select Rename.
Connect to a repository in Azure DevOps
Next steps
- Set up event-based test automation. See Event-Based Test Automation in Polaris for SCM Integrations.
- Scan on demand (see How to test from the web UI) or schedule automatic testing on a daily or weekly basis (see Test scheduling policies). Note: From the Tests screen, before beginning a test manually, make sure to test the connection.
- Change settings or add sync options. See Synchronizing Polaris with your SCM Provider.