Specify the application scope that must be the same as the scope of the created Azure DevOps OAuth App. Go back to the connection form in TeamCity and enter the Azure DevOps Services URL, the new application ID, and client secret. When created, copy the app's ID and client secret. Go to the Register Application page in Azure and create a new app using the provided parameters. TeamCity will display the Callback URL and scopes required for registering an OAuth application in Azure DevOps. Select Azure DevOps OAuth 2.0 as the connection type. In Project Administration | Connections, click Add Connection. ![]() To configure an Azure DevOps OAuth 2.0 connection: This connection can be used for authenticating users via Azure DevOps as well as creating projects and build configurations. It uses the OAuth 2.0 protocol based on JWT tokens and requires creating a dedicated app in your Azure profile. This type of connection supports only Azure DevOps Services. There are two types of Azure DevOps connections in TeamCity:Īzure DevOps OAuth 2.0 allows signing in to TeamCity via an Azure DevOps Services account and creating TeamCity projects from Azure Git and TFVC repositories.Īzure DevOps PAT allows creating TeamCity projects from Azure Git and TFVC repositories. If you add a connection in the Root project, it will become available on the whole server. When created, a connection can be used in all the nested subprojects of the current project. Select the connection type, set its Display name to distinguish it from the others, and configure it as described below. To add a connection, go the target project's settings, open the Connections page, and click Add Connection. This article gives instructions on how to add each type of connection. You can reuse these presets in various places on the server: when creating projects, configuring notifications, integrating with issue trackers, and more. ![]() TeamCity allows storing presets of connections to external services.
0 Comments
Leave a Reply. |