Set a Bitbucket Repository Environment Variable

Veracode Software Composition Analysis

Environment variables added on the repository level can be accessed by any users with the push permission in the repository. You can set a repository environment variable to perform scans on each new build.

To set a repository environment variable:

  1. Go the repository you want to scan and select Settings > Pipelines > Environment variables.
  2. In the Type variable field, enter SRCCLR_API_TOKEN.
  3. In the Type value field, paste your API token.
  4. Verify the Secured checkbox is selected.
  5. Click Add.