summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason van den Hurk <jasonhurk@gmail.com>2019-03-28 13:58:39 +0100
committerJason van den Hurk <jasonhurk@gmail.com>2019-04-10 11:13:04 +0200
commit22cd71a66391605f67245f816d309a812ec56851 (patch)
tree3c801197af3941a18bd783a72789732af0dd97c7
parentaf46d33fba477785dfbe5af2d38a2e4f0ed0b696 (diff)
downloadgitlab-ce-22cd71a66391605f67245f816d309a812ec56851.tar.gz
Added documentation for CI_REF_PROTECTED ci variable
-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 846c539daab..74c34807b19 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_REF_PROTECTED` | 11.10 | 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 |