- Select the job you want to scan.
- Select Build Environment.
- Select Use secret text(s) or file(s).
- Under Bindings, select .
- For Variable, enter SRCCLR_API_TOKEN.
- Select SRCCLR_API_TOKEN from the dropdown menu.
- In the build section, select .
Add the following command to the shell command box:
curl -sSL https://download.sourceclear.com/ci.sh | sh
- Save your build.
The next time your job runs, SourceClear performs a scan.