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:
-
In Bitbucket, go to Account > Bitbucket Settings.
-
Select an individual account or a team for which you want to configure variables.
-
From the left navigation, select Pipelines > Environment variables.
-
For Type variable, enter
SRCCLR_API_TOKEN
. -
For Type value, paste your API token.
-
Verify the Secured checkbox is selected.
-
Select Add.