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/
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | [[GitLab CI | + | TOMERGE: [[GitLab CI: variables:]] |
* https://docs.gitlab.com/ee/ci/variables/ | * https://docs.gitlab.com/ee/ci/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> | ||
== Activities == | == Activities == | ||
− | # Review | + | # 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 <code>[[gitlab-ci.yml]]</code> or in <code>Settings > CI/CD > Variables</code> in your project |
− | |||
+ | == Related == | ||
+ | * [[GitLab environment variables]] | ||
+ | * [[GitLab project members permissions]] | ||
+ | * [[GitHub Actions variables]], [[GitHub Actions contexts]] | ||
== See also == | == See also == |
Latest revision as of 12:42, 16 May 2023
TOMERGE: GitLab CI: variables:
- 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[edit]
- 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
Related[edit]
- GitLab environment variables
- GitLab project members permissions
- GitHub Actions variables, GitHub Actions contexts
See also[edit]
- GitLab CI, variables, templates, executors,
.gitlab-ci.yml, .gitlab/
, Credential helpers, notifications, pipeline editor, Keyword reference, Changelog,ContainersNotReady
, GitLab environments
Advertising: