- Go to the project you want to scan.
- Select .
In the test pipelines commands, enter the following code after your build
curl -sSL https://download.sourceclear.com/ci.sh | sh
- Commit these changes to trigger a build for your repository.
If you want to add Veracode SCA agent-based scanning to other repositories, add the installation and scan code above to any test pipelines you want. After you add the SRCCLR_API_TOKEN environment variable, you can perform scans on each new build.