Set up Azure Pipelines workflow for CodeAnt CI scan.
azure-pipelines.yml
. This single step will fetch the scan helper script and trigger a CodeAnt analysis on every commit to your target branch:
Tip:
- In Project → Pipelines → Library, add a secret variable named
ACCESS_TOKEN
with your personal or repo token.- Azure DevOps automatically provides
$(Build.Repository.Name)
(your repo slug) and$(Build.SourceVersion)
(the commit SHA).
curl
the helper (start_scan.sh
) from the CodeAnt CI endpoint.
chmod +x
so the script can run.
/analysis/ci/scan
.