Skip to main content
Kodus connects to Azure DevOps Services (dev.azure.com) with a personal access token and receives pull request events through service hooks.

Steps

  1. Create an account at kodus.io or self-host Kodus
  2. Connect Azure DevOps — in the Connect your Git tool step of onboarding, open the Azure Repos tab, click Connect via token, and enter your Azure Repos organization name and Personal Access Token (you can also connect later from Repositories in the sidebar: click Azure Repos under Connect a provider)
  3. Select repositories — choose which Azure DevOps repositories Kodus should review, or turn on Review every repository on Repositories
  4. Webhooks — Kodus creates the pull request service hooks automatically when you save the selection. That needs the Edit subscriptions permission on the project (Project Administrators have it). Check them under Project settings → Service hooks; Repositories lists a repository whose hooks failed, with the reason, only when Review every repository is on. If they are missing, register the hooks manually with the Azure DevOps Webhooks guide
  5. Open a pull request in a selected repository. See what Kody posts and how to check its status.
For Business Logic Validation with an Azure Boards work item, select a custom plugin as the Task source. See Business Logic settings.

Custom configuration

Use kodus-config.yml to customize review settings per repository.

Using a Personal Access Token

Azure DevOps requires a PAT for Kodus to access your repositories and post review comments. Create it with the scopes listed in the Azure DevOps PAT guide; without Code: Read & Write, Kodus can read your repositories but cannot comment. For the full setup guide, see Azure DevOps Webhooks and Azure DevOps PAT.