Skip to main content

Set the Bitbucket account environment variable

You can set the environment variable for Veracode Software Composition Analysis (SCA) agent-based scanning at either the account or repository levels.

To complete this task:

  1. In Bitbucket, go to Account > Bitbucket Settings.

  2. Select an individual account or a team for which you want to configure variables.

  3. From the left navigation menu, select Pipelines > Environment variables.

  4. In the Type variable field, enter SRCCLR_API_TOKEN.

  5. In the Type value field, paste your API token.

  6. Verify the Secured checkbox is selected.

  7. Click Add.