dotenv report
A job artifact of NAME=value lines that GitLab turns into variables for later jobs.
In more detail
A job writes the file and declares it under artifacts:reports:dotenv. Jobs that receive the artifact get the values as variables, which take precedence over most variables defined in the configuration file.
Related terms
- artifact — A file produced by a build, such as a compiled program or an image, that is stored and passed on to later steps.
- predefined CI/CD variables — Variables GitLab sets in every job, such as CI_COMMIT_BRANCH, CI_COMMIT_SHA and CI_REGISTRY_IMAGE, describing the pipeline, the commit and the project.
Taught in
- Artifacts: Which Files Reach Which Jobs — GitLab Certified CI/CD Associate Exam Prep
- Caching: Dependencies That Survive Between Pipelines — GitLab Certified CI/CD Associate Exam Prep
- CI/CD Variables: Where Values Come From, And Which One Wins — GitLab Certified CI/CD Associate Exam Prep