diff options
author | vanadium23 <chernoffivan@gmail.com> | 2017-06-01 08:04:16 +0300 |
---|---|---|
committer | vanadium23 <chernoffivan@gmail.com> | 2017-06-03 10:36:41 +0300 |
commit | 3f80281d9c07e47cb5cf921add9f5933763ad3df (patch) | |
tree | da1d90238737d497f5583e113ef0418a8ddadee3 /doc/ci | |
parent | 11852e16387790c26be7b8d1dd99ed689bf9d45b (diff) | |
download | gitlab-ce-3f80281d9c07e47cb5cf921add9f5933763ad3df.tar.gz |
Add slugify project path to CI enviroment variables
Diffstat (limited to 'doc/ci')
-rw-r--r-- | doc/ci/variables/README.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/ci/variables/README.md b/doc/ci/variables/README.md index 76ad7c564a3..ad897d5cf1a 100644 --- a/doc/ci/variables/README.md +++ b/doc/ci/variables/README.md @@ -56,9 +56,10 @@ future GitLab releases.** | **CI_PIPELINE_TRIGGERED** | all | all | The flag to indicate that job was [triggered] | | **CI_PROJECT_DIR** | all | all | The full path where the repository is cloned and where the job is run | | **CI_PROJECT_ID** | all | all | The unique id of the current project that GitLab CI uses internally | -| **CI_PROJECT_NAME** | 8.10 | 0.5 | The project name that is currently being built | +| **CI_PROJECT_NAME** | 8.10 | 0.5 | The project name that is currently being built (actually it is project folder name) | | **CI_PROJECT_NAMESPACE** | 8.10 | 0.5 | The project namespace (username or groupname) that is currently being built | | **CI_PROJECT_PATH** | 8.10 | 0.5 | The namespace with project name | +| **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 address to access project | | **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 | |