Connect Azure DevOps on AI Code Monitor tool: How-to-Instructions
Steps to connect Azure DevOps to AI Code Monitor (AICM)
Step1. Go to your Azure DevOps account > Login > Create Personal access token
Step2. Create your Personal access token > New Token
Step3. Create a New Token
Add these details:
Step4. Token is created > Copy this token (This is a sample shown below)
Step5. Go to Sema AI Code Monitor Tool > Click Settings > Connections
On the AI Code Monitor tool:
Step6. On AI Code Monitor Tool > Click Settings > Connections > Add Details
After successful connection, you will see this message
Step7. Configure Web Hooks
We need to configure service hooks so that our system is notified about the events and trigger the right flow for the tool to kick in.
In your Azure DevOps project click on project settings > service hooks and then select web hooks from the list and click next.
Select the repository you want to integrate the tool with. Add the following 4 events for the repository (or project):
Add https://app.semasoftware.com/api/webhook-azure-devops/ as the endpoint for the webhook.
Note: Watch the Video Instructions given below
Steps to Configure Webhooks:
Add https://app.semasoftware.com/api/webhook-azure-devops/ as the endpoint for the webhook (URL)
6. After completing, hit "Finish".
Step8. Go to Pull Request page on Azure DevOps to see the Sema GenAI Detector