Difference between revisions of "GitLab CI/CD variables"

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[GitLab CI/CD]]
+
TOMERGE: [[GitLab CI: variables:]]
  
 
* https://docs.gitlab.com/ee/ci/variables/
 
* https://docs.gitlab.com/ee/ci/variables/
Line 6: Line 6:
 
* Protected, masked<ref>https://about.gitlab.com/releases/2019/04/22/gitlab-11-10-released/#simple-masking-of-protected-variables-in-logs</ref> ([[GitLab 11.10]], 2019). https://docs.gitlab.com/ee/ci/variables/
 
* Protected, masked<ref>https://about.gitlab.com/releases/2019/04/22/gitlab-11-10-released/#simple-masking-of-protected-variables-in-logs</ref> ([[GitLab 11.10]], 2019). https://docs.gitlab.com/ee/ci/variables/
  
https://www.shellhacks.com/gitlab-ci-cd-print-all-environment-variables/
 
 
  print-all-env-vars-job:
 
  print-all-env-vars-job:
 
   stage: debug
 
   stage: debug
 
   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>
  
 
== Activities ==
 
== 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 <code>[[gitlab-ci.yml]]</code> or in <code>Settings > CI/CD > Variables</code> in your project
+
# 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

Advertising: