Include the following Azure DevOps Task into your CI/CD build pipeline on pull
request. See azure task docs for more details.
Copy
- task: automagicallyexecute@2 inputs: url: <publicly accessible url to your deployment> token: ${{ secrets.OCTOMIND_API_KEY }} testTargetId: <your testTargetId from your octomind project> blocking: false
Please make sure to integrate the GitHub action AFTER your deployment
step. You have to link octomind to your publicly accessible app / branch
deployment url to run tests on it.
Show how to create an API key
The option to create your API key can be found within the settings menu.
Project settings menu icon, 12/2025
Click on Create an API key.
Create an API key button, 12/2025
You then will be navigated to our auth provider where you can create a new organization-level API key.Add the API key to your CI provider as a secret to run test reports from the CI.
Show how to get your test target id
You can get your test target ID from the octomind landing
page once
signed-in. If you are greeted with the 'Setup your autonomous end-to-end
tests' message, please sign-in first
The option to copy your test target ID can be found within the settings menu.
Make sure that your build service user also has permissions to comment to pull requests. To do so, navigate to the
Project Settings > Repos > Repositories > Security tab and allow the ‘contribute to pull request’ flag.