Set the CircleCI Environment Variable

SourceClear Software Composition Analysis

You can set an environment variable for each repository you want to scan.

Procedure

  1. Select the repository where you want to scan your CircleCI environment.
  2. Go to Project Settings > Environment Variables.
  3. Click Add Variable.
  4. For Name, enter SRCCLR_API_TOKEN.
  5. For Value, enter your agent token value.
  6. Verify the Display value in build log is set to OFF to ensure your token is hidden.
  7. Click Add Variable.