diff options
author | Evan Read <eread@gitlab.com> | 2019-07-08 02:14:50 +0000 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2019-07-08 02:14:50 +0000 |
commit | c03f23c48311f0663458bbed33131fa3a6c80842 (patch) | |
tree | 49223515160ba910e31b59d1c205c1f8200e48cc | |
parent | bb879e7f7583885363dd8bfe241f57ce6324b1ec (diff) | |
parent | e704cd09f7bae52657078fe177507d36322cb65b (diff) | |
download | gitlab-ce-c03f23c48311f0663458bbed33131fa3a6c80842.tar.gz |
Merge branch 'patch-71' into 'master'
ADD '.git' ending to git clone with CI_JOB_TOKEN for clarity
See merge request gitlab-org/gitlab-ce!30200
-rw-r--r-- | doc/user/project/new_ci_build_permissions_model.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/user/project/new_ci_build_permissions_model.md b/doc/user/project/new_ci_build_permissions_model.md index c07c4099f22..d35a8568394 100644 --- a/doc/user/project/new_ci_build_permissions_model.md +++ b/doc/user/project/new_ci_build_permissions_model.md @@ -185,7 +185,7 @@ The [Job environment variable][jobenv] `CI_JOB_TOKEN` can be used to authenticate any clones of dependent repositories. For example: ``` -git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/myuser/mydependentrepo +git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/<user>/<mydependentrepo>.git ``` It can also be used for system-wide authentication |