Difference between revisions of "GitLab CI/CD variables"
Jump to navigation
Jump to search
↑ https://about.gitlab.com/releases/2019/04/22/gitlab-11-10-released/#simple-masking-of-protected-variables-in-logs
↑ https://www.shellhacks.com/gitlab-ci-cd-print-all-environment-variables/
Line 10: | Line 10: | ||
script: | script: | ||
- echo "GitLab CI/CD | Print all environment variables" | - echo "GitLab CI/CD | Print all environment variables" | ||
− | - env | + | - [[env]] |
<ref>https://www.shellhacks.com/gitlab-ci-cd-print-all-environment-variables/</ref> | <ref>https://www.shellhacks.com/gitlab-ci-cd-print-all-environment-variables/</ref> | ||
Revision as of 10:29, 27 September 2022
- Protected, masked[1] (GitLab 11.10, 2019). https://docs.gitlab.com/ee/ci/variables/
print-all-env-vars-job: stage: debug script: - echo "GitLab CI/CD | Print all environment variables" - env
Activities
- Review predefined variables: https://docs.gitlab.com/ee/ci/variables/predefined_variables.html and self defined variables https://docs.gitlab.com/ee/ci/variables/README.html#creating-a-custom-environment-variable in
gitlab-ci.yml
or inSettings > CI/CD > Variables
in your project
See also
- GitLab CI, variables, templates, executors,
.gitlab-ci.yml, .gitlab/
, Credential helpers, notifications, pipeline editor, Keyword reference, Changelog,ContainersNotReady
, GitLab environments
Advertising: