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
Boxiang Sun
gitlab-ce
Commits
4ef831ae
Commit
4ef831ae
authored
Jul 10, 2019
by
Balasankar "Balu" C
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add docs about CI_SERVER_HOST env variable
Signed-off-by:
Balasankar "Balu" C
<
balasankar@gitlab.com
>
parent
e04e7181
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
doc/ci/variables/README.md
doc/ci/variables/README.md
+5
-0
doc/ci/variables/predefined_variables.md
doc/ci/variables/predefined_variables.md
+1
-0
No files found.
doc/ci/variables/README.md
View file @
4ef831ae
...
@@ -273,6 +273,7 @@ export CI_RUNNER_ID="10"
...
@@ -273,6 +273,7 @@ export CI_RUNNER_ID="10"
export
CI_RUNNER_DESCRIPTION
=
"my runner"
export
CI_RUNNER_DESCRIPTION
=
"my runner"
export
CI_RUNNER_TAGS
=
"docker, linux"
export
CI_RUNNER_TAGS
=
"docker, linux"
export
CI_SERVER
=
"yes"
export
CI_SERVER
=
"yes"
export
CI_SERVER_HOST
=
"example.com"
export
CI_SERVER_NAME
=
"GitLab"
export
CI_SERVER_NAME
=
"GitLab"
export
CI_SERVER_REVISION
=
"70606bf"
export
CI_SERVER_REVISION
=
"70606bf"
export
CI_SERVER_VERSION
=
"8.9.0"
export
CI_SERVER_VERSION
=
"8.9.0"
...
@@ -644,6 +645,8 @@ Running on runner-8a2f473d-project-1796893-concurrent-0 via runner-8a2f473d-mach
...
@@ -644,6 +645,8 @@ Running on runner-8a2f473d-project-1796893-concurrent-0 via runner-8a2f473d-mach
++
CI_PROJECT_DIR
=
/builds/gitlab-examples/ci-debug-trace
++
CI_PROJECT_DIR
=
/builds/gitlab-examples/ci-debug-trace
++
export
CI_SERVER
=
yes
++
export
CI_SERVER
=
yes
++
CI_SERVER
=
yes
++
CI_SERVER
=
yes
++
export
'CI_SERVER_HOST=example.com'
++
CI_SERVER_HOST
=
'example.com'
++
export
'CI_SERVER_NAME=GitLab CI'
++
export
'CI_SERVER_NAME=GitLab CI'
++
CI_SERVER_NAME
=
'GitLab CI'
++
CI_SERVER_NAME
=
'GitLab CI'
++
export
CI_SERVER_VERSION
=
++
export
CI_SERVER_VERSION
=
...
@@ -678,6 +681,8 @@ Running on runner-8a2f473d-project-1796893-concurrent-0 via runner-8a2f473d-mach
...
@@ -678,6 +681,8 @@ Running on runner-8a2f473d-project-1796893-concurrent-0 via runner-8a2f473d-mach
++
CI_JOB_NAME
=
debug_trace
++
CI_JOB_NAME
=
debug_trace
++
export
CI_JOB_STAGE
=
test
++
export
CI_JOB_STAGE
=
test
++
CI_JOB_STAGE
=
test
++
CI_JOB_STAGE
=
test
++
export
CI_SERVER_HOST
=
example.com
++
CI_SERVER_HOST
=
example.com
++
export
CI_SERVER_NAME
=
GitLab
++
export
CI_SERVER_NAME
=
GitLab
++
CI_SERVER_NAME
=
GitLab
++
CI_SERVER_NAME
=
GitLab
++
export
CI_SERVER_VERSION
=
8.14.3-ee
++
export
CI_SERVER_VERSION
=
8.14.3-ee
...
...
doc/ci/variables/predefined_variables.md
View file @
4ef831ae
...
@@ -101,6 +101,7 @@ future GitLab releases.**
...
@@ -101,6 +101,7 @@ future GitLab releases.**
|
`CI_RUNNER_TAGS`
| 8.10 | 0.5 | The defined runner tags |
|
`CI_RUNNER_TAGS`
| 8.10 | 0.5 | The defined runner tags |
|
`CI_RUNNER_VERSION`
| all | 10.6 | GitLab Runner version that is executing the current job |
|
`CI_RUNNER_VERSION`
| all | 10.6 | GitLab Runner version that is executing the current job |
|
`CI_SERVER`
| all | all | Mark that job is executed in CI environment |
|
`CI_SERVER`
| all | all | Mark that job is executed in CI environment |
|
`CI_SERVER_HOST`
| 12.1 | all | Host component of the GitLab instance URL, without protocol and port (like gitlab.example.com) |
|
`CI_SERVER_NAME`
| all | all | The name of CI server that is used to coordinate jobs |
|
`CI_SERVER_NAME`
| all | all | The name of CI server that is used to coordinate jobs |
|
`CI_SERVER_REVISION`
| all | all | GitLab revision that is used to schedule jobs |
|
`CI_SERVER_REVISION`
| all | all | GitLab revision that is used to schedule jobs |
|
`CI_SERVER_VERSION`
| all | all | GitLab version that is used to schedule jobs |
|
`CI_SERVER_VERSION`
| all | all | GitLab version that is used to schedule jobs |
...
...
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