Azure Devops
Last updated
Last updated
To configure the Azure integration, follow these steps (either during the onboarding wizard, or once you have access to the Gomboc platform):
In Azure, create a Personal Access Token that has a Code (Read & Write) permissions and the name of the organization is was scoped to.
Note that we do not currently support the option "All accessible organizations". If you need to provide access to multiple organizations, please create a separate integration for each one.
Go to Settings > Integrations > Azure
Insert the token and org name you have created in step 1
3. Click "Integrate" to complete the initial SCM integration
In order for Gomboc.AI to keep the updated status of any PR's we create for you, you must include a webhook. In order to create a proper webhook, please follow these steps:
Go to our portal (app.gomboc.ai), click on your account icon on the top right > Settings
Create a 'Personal' or 'API' token.
Use a Personal token when you will be the only one using the token,
Use an API token with the appropriate roles if the token will be used within the webhook, or expect multiple people to use the token.
Be sure to copy the created token, and start to set up the Azure Devops webhook. Within your project settings, create a 'Web Hooks' service.
The trigger should be specified 'Pull Request Updated'. No additional filters will be required.
Within the 'Actions' settings, you will need the following values
URL: https://scan.app.gomboc.ai/webhook/azdo
HTTP headers: X-Gomboc-Authorization: <Token copied from the Gomboc settings>
Once completed, you can press finish and proceed to creating the pipeline or start to create pull requests through the portal.
Azure devops pipeline can use the following yaml to run the Gomboc CLI on every pull request to main. Be sure to replace the {ORGANIZATION_NAME} fields within the yaml file with your your Azure DevOps organization name.