Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
7835d99c
Commit
7835d99c
authored
Nov 17, 2016
by
Achilleas Pipinellis
Committed by
Alejandro Rodríguez
Nov 18, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge branch 'docs/fix-url-environments' into 'master'
Fix missing URL from environments docs See merge request !7542
parent
b5bea403
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
doc/ci/environments.md
doc/ci/environments.md
+3
-1
No files found.
doc/ci/environments.md
View file @
7835d99c
...
@@ -490,7 +490,8 @@ fetch = +refs/environments/*:refs/remotes/origin/environments/*
...
@@ -490,7 +490,8 @@ fetch = +refs/environments/*:refs/remotes/origin/environments/*
## Limitations
## Limitations
-
You are limited to use only the
[
CI predefined variables
][
variables
]
in the
-
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
-
If the branch name contains special characters and you use the
`$CI_BUILD_REF_NAME`
variable to dynamically create environments, there might
`$CI_BUILD_REF_NAME`
variable to dynamically create environments, there might
be complications during deployment. Follow the
[
issue 22849
][
ce-22849
]
for
be complications during deployment. Follow the
[
issue 22849
][
ce-22849
]
for
...
@@ -515,5 +516,6 @@ Below are some links you may find interesting:
...
@@ -515,5 +516,6 @@ Below are some links you may find interesting:
[
only
]:
yaml/README.md#only-and-except
[
only
]:
yaml/README.md#only-and-except
[
onstop
]:
yaml/README.md#environment-on_stop
[
onstop
]:
yaml/README.md#environment-on_stop
[
ce-7015
]:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7015
[
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/
[
gitlab runner
]:
https://docs.gitlab.com/runner/
[
git-strategy
]:
yaml/README.md#git-strategy
[
git-strategy
]:
yaml/README.md#git-strategy
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment