Set up CodeAnt into your Bitbucket pipeline.
bitbucket-pipelines.yml
. This single step will fetch the scan helper script and trigger a CodeAnt analysis for every commit:
Tip:
- Define an ACCESS_TOKEN secured Repository variable with a personal access token or repo token.
- Bitbucket Pipelines automatically provides BITBUCKET_REPO_FULL_NAME (e.g.
org/repo
) and BITBUCKET_COMMIT (current SHA).
curl
the helper (start_scan.sh
) from the CodeAnt CI endpoint.
chmod +x
so you can run it directly.
/analysis/ci/scan
.