Skip to content

Environment variables ​

Usually the only variable you set is EASYTRACE_TOKEN, and only in CI. Everything else is detected.

VariableDefaultWhen to set it
EASYTRACE_TOKEN—In CI: the project token (et_proj_…). Wins over a stored easytrace login.
EASYTRACE_API_URLapiUrl in the config, then https://api.easytrace.devAnother EasyTrace instance, for this shell only
EASYTRACE_SUITEdefaultSuite name for upload <files> / coverage without --suite
EASYTRACE_BUILD_IDDetected on CI; one per invocation locallyA CI that isn't detected, or to merge shards from different machines
EASYTRACE_BRANCHDetected on CI; git branch --show-current locallyKeep a local run out of the default-branch baseline (e.g. local/<you>)
EASYTRACE_COMMIT_SHADetected on CI; git rev-parse HEAD locallyA CI that checks out a merge commit
EASYTRACE_COMMIT_MESSAGEgit log -1 --format=%sRarely
EASYTRACE_PR_NUMBERDetected on CIA CI that isn't detected
EASYTRACE_BUILD_URLDetected on CIA CI that isn't detected — the run links back to it
EASYTRACE_FLUSH_TIMEOUT60 (seconds)Large artifact uploads; what is left after the timeout is skipped with a warning
EASYTRACE_DEBUGoff1 to log each request while troubleshooting
CI—true marks an unknown CI (the run is not Local) and blocks easytrace login
XDG_CONFIG_HOME / APPDATA~/.configWhere easytrace login stores its credentials

Values of environment variables whose names contain TOKEN, SECRET, PASSWORD or KEY are masked as *** in anything the CLI sends (test output, error messages).