summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2017-06-05 10:25:35 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2017-06-05 10:25:35 +0000
commit65581fad5e26fdf2612c098a7fbc48a53aae5e28 (patch)
treefaf29a3cfa9562b33321d8adfbe72d16abfc4978 /doc
parent9ccb289aa10f26e418dec06c5d6cf70205560ff4 (diff)
parent3f80281d9c07e47cb5cf921add9f5933763ad3df (diff)
downloadgitlab-ce-65581fad5e26fdf2612c098a7fbc48a53aae5e28.tar.gz
Merge branch '31061-26135-ci-project-slug-enviroment-variables' into 'master'
Add slugified project path to CI environment variables Closes #31061 See merge request !11838
Diffstat (limited to 'doc')
-rw-r--r--doc/ci/variables/README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/ci/variables/README.md b/doc/ci/variables/README.md
index 89b14b156cc..56ff245f9f9 100644
--- a/doc/ci/variables/README.md
+++ b/doc/ci/variables/README.md
@@ -57,9 +57,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 |