About this task
- 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 | bash
- Commit these changes to trigger a build for your repository.
What to do next
If you want to add SourceClear 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.