Set the Bitbucket Account Environment Variable

SourceClear Software Composition Analysis

You can set the environment variable for SourceClear at either the account or repository levels.

About this task

To set the variable at the account level:


  1. Go to Account > Bitbucket Settings.
  2. Select an individual account or a team for which you wan 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.