Polaris supports SCM integration with both Azure DevOps Cloud and Azure DevOps Server. Both types of integration require a valid personal access token, and Azure DevOps Server integration requires additional configuration for network access and service hooks.
Supported versions
Polaris supports Azure DevOps Server 2019 (Update 1 and later), 2020, and 2022. For the full list of supported versions, see Polaris Support Information.
Azure DevOps Cloud is always on the latest version and does not have a version requirement.
Multiple ways to onboard
You can onboard your repositories individually or in bulk. The following procedures explain how to perform onboarding based on your needs:
- Connect a Polaris project to an ADO repository - connect an Azure DevOps repository to an existing Polaris project.
- Onboard ADO repositories to an existing Polaris application - onboard one or more Azure DevOps repositories as new projects in an existing Polaris application.
- Onboard ADO repositories to Polaris applications - onboard one or more Azure DevOps repositories as new projects in new or existing Polaris applications.
Authentication
Authentication between Azure DevOps and Polaris uses personal access tokens (PATs). The token creation location and required permissions depend on your deployment:
- Azure DevOps Cloud - create a PAT in your Azure DevOps Cloud organization settings. Bulk integration and monitoring require that the token be created by an Organization Owner or a user with the "Manage organization webhooks" permission.
- Azure DevOps Server - create a PAT within the target ADO Server instance at
https://{server}/_usersSettings/tokens. Required scopes:Code (Read, Write, Status)andService Hooks (Read & Write).
For token creation steps and required scopes for each integration type, see Azure Tokens for SCM Bulk Integration and/or Monitoring.
Azure DevOps Server: Network access
To connect to a repository hosted in Azure DevOps Server, Polaris must be able to reach your ADO Server instance. Use one of the following options:
- Configure the Secure Tunnel to connect Polaris to your private network. See Add and manage secure tunnels in the Polaris UI.
- Add the Polaris integration IP addresses to your firewall allow list. See Integrations for more information.
Azure DevOps Server: Service hooks
Polaris uses service hooks to trigger event-based test automation and to keep your Polaris configuration in sync with repository changes. In Azure DevOps Server, service hooks use the Service Hooks feature (HTTP Post consumer) and must be configured at the Collection or Project level. This is the ADO Server equivalent of the webhooks mechanism used in Azure DevOps Cloud and other SCM providers.
For information on setting up event-based testing after your integration is configured, see Event-Based Test Automation in Polaris for SCM Integrations.