summaryrefslogtreecommitdiff
path: root/doc/ci
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2019-04-24 14:57:11 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2019-04-24 14:57:11 +0000
commit7734b834fb7aebc1c10f7e8ec20d74a208bd5a8b (patch)
tree9082bc450791c51ff48021ecfa4ce60c103ce4a6 /doc/ci
parent4de9b14ce6137e5d44fd8b10e9566d220f1ebdcd (diff)
parentd1b2056c155f49004a80280e46d7136fd804ad98 (diff)
downloadgitlab-ce-7734b834fb7aebc1c10f7e8ec20d74a208bd5a8b.tar.gz
Merge branch 'add-ci-variable-protected-ref' into 'master'
Add CI variable CI_REF_PROTECTED See merge request gitlab-org/gitlab-ce!26716
Diffstat (limited to 'doc/ci')
-rw-r--r--doc/ci/variables/predefined_variables.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/ci/variables/predefined_variables.md b/doc/ci/variables/predefined_variables.md
index 4c562138b98..40458137752 100644
--- a/doc/ci/variables/predefined_variables.md
+++ b/doc/ci/variables/predefined_variables.md
@@ -84,6 +84,7 @@ future GitLab releases.**
| `CI_PROJECT_PATH_SLUG` | 9.3 | all | `$CI_PROJECT_PATH` lowercased and with everything except `0-9` and `a-z` replaced with `-`. Use in URLs and domain names. |
| `CI_PROJECT_URL` | 8.10 | 0.5 | The HTTP(S) address to access project |
| `CI_PROJECT_VISIBILITY` | 10.3 | all | The project visibility (internal, private, public) |
+| `CI_COMMIT_REF_PROTECTED` | 11.11 | all | If the job is running on a protected branch |
| `CI_REGISTRY` | 8.10 | 0.5 | If the Container Registry is enabled it returns the address of GitLab's Container Registry |
| `CI_REGISTRY_IMAGE` | 8.10 | 0.5 | If the Container Registry is enabled for the project it returns the address of the registry tied to the specific project |
| `CI_REGISTRY_PASSWORD` | 9.0 | all | The password to use to push containers to the GitLab Container Registry |