Azure DevOps Server / Team Foundation Server Support¶
Power Pack adds support for using Review Board for code review when using Azure DevOps Server (formerly Team Foundation Server) for source code hosting. Both TFVC and Git repositories hosted via Azure DevOps Server are supported. All versions of Azure DevOps Server are supported, as well as Team Foundation Server 2013 and up.
Adding an Azure DevOps / TFS repository is done using the same procedures as any other repository. See Repositories for the basic steps of adding and configuring a repository.
Repository Configuration¶
TVFC Repositories¶
To create a TFVC repository, select (None - Custom Repository) for
the Hosting service, and Azure DevOps / TFS (TFVC)
for the Repository type. Once selected, add the fully-qualified
path to the Azure DevOps Server or TFS server and collection (i.e.
http://tfs:8080/tfs/DefaultCollection) for the Path. This
should match the path listed in the Administration Console or the collection
reported when running tf workfold.
Git Repositories¶
To create a Git repository, select (None - Custom Repository) for
the Hosting service, and Azure DevOps / TFS (Git)
for the Repository type. Once selected, add the fully-qualified
clone path for the repository (i.e.
http://tfs:8080/tfs/DefaultCollection/_git/git-project) for the
Path. This should match the repository’s “Clone Repository” path.
Note that you must use the Azure DevOps Git repository type, and not
plain Git.
Authentication¶
If you are using Azure DevOps Server or TFS 2018+, you’ll need to create a Personal Access Token to authenticate.
On Team Foundation Server, open the collection in a browser and select your account icon in the upper right, then click Security. On the next page, select Personal access tokens. On Azure DevOps Server, select your account icon in the upper right and choose Personal access tokens from the menu.
From this page, generate a new Personal Access token for use with Review Board. It will need the Read scope under the Code section and the Read scope under the Project and Team section. Enter this access token in the Password field (the Username field can be left blank). Note that you’ll need to copy this immediately, as it will not be visible after you leave the page.
On TFS 2017 and below, use your domain login credentials for Username and Password.
RBTools Support¶
The RBTools command-line tools include support for posting pending changes against Azure DevOps / TFS repositories. Both Git and TFVC repositories are supported.
Posting changes against TFVC repositories requires the tf.cmd or tf.exe command. The latter is included in modern versions of Visual Studio (2017 and up). If you are running Visual Studio 2013 Update 4 or Visual Studio 2015, you’ll need to install Team Explorer Everywhere to get the right tf.cmd.
See Azure DevOps / Team Foundation Server Configuration for more information.