summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2016-11-17 21:11:02 +0000
committerAlejandro Rodríguez <alejorro70@gmail.com>2016-11-18 21:54:48 +0000
commit7835d99cf9052893069a8f4f19184278cca70459 (patch)
tree277608c8605c1a1809dfb2c7dfd843b63cf57e69 /doc
parentb5bea403c39f20b829b7d5e883b5b522dd2288c1 (diff)
downloadgitlab-ce-7835d99cf9052893069a8f4f19184278cca70459.tar.gz
Merge branch 'docs/fix-url-environments' into 'master'
Fix missing URL from environments docs See merge request !7542
Diffstat (limited to 'doc')
-rw-r--r--doc/ci/environments.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/ci/environments.md b/doc/ci/environments.md
index cfb41307c43..58616d792e4 100644
--- a/doc/ci/environments.md
+++ b/doc/ci/environments.md
@@ -490,7 +490,8 @@ fetch = +refs/environments/*:refs/remotes/origin/environments/*
## Limitations
- You are limited to use only the [CI predefined variables][variables] in the
- `environment: name`. Any variables defined inside `script` will not work.
+ `environment: name`. If you try to re-use variables defined inside `script`
+ as part of the environment name, it will not work.
- If the branch name contains special characters and you use the
`$CI_BUILD_REF_NAME` variable to dynamically create environments, there might
be complications during deployment. Follow the [issue 22849][ce-22849] for
@@ -515,5 +516,6 @@ Below are some links you may find interesting:
[only]: yaml/README.md#only-and-except
[onstop]: yaml/README.md#environment-on_stop
[ce-7015]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7015
+[ce-22849]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22849
[gitlab runner]: https://docs.gitlab.com/runner/
[git-strategy]: yaml/README.md#git-strategy