Skip to content
Latchkey

Environment Variable - CI/CD Glossary Definition

An environment variable is a named value held in a process environment and inherited by child processes, used to pass configuration like PATH, HOME, or CI without hardcoding it.

In CI

Set variables with the env: key at workflow, job, or step level. Most CI systems set CI=true automatically so tools can detect they are running in a pipeline. Write to $GITHUB_ENV to export a variable to later steps.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →