Skip to main content

Environment Variables

TESTRADAR_API_KEY

An API key required to communicate with TestRadar's API.

TESTRADAR_ENABLED

Enables or disables sending test results to TestRadar. It defaults to true. Set it to false in pipelines you don't want to collect test results for. This can be useful for controlling your API usage.

TESTRADAR_BRANCH

The git branch the pipeline is running for.

info

For most CI providers, the git branch the pipeline is running for will be determined automatically, but for some it will not. If it cannot be automatically determined your test run will fail with ValidationError... "branch" is required. To fix this, simply set the TESTRADAR_BRANCH environment variable manually.