diff options
author | Balasankar "Balu" C <balasankar@gitlab.com> | 2019-07-05 20:35:19 +0300 |
---|---|---|
committer | Balasankar "Balu" C <balasankar@gitlab.com> | 2019-07-10 17:53:03 +0300 |
commit | e04e7181cc6be7a47b634855c77fb0c2c4e53a8b (patch) | |
tree | 913f10744399d9ce6dec27b6f2f8e21dc55396dc /app/models/concerns/ci/contextable.rb | |
parent | b76d4fadd4be35141df659b5ab2ba99b21c79ead (diff) |
Add CI variable to provide GitLab FQDN
Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
Diffstat (limited to 'app/models/concerns/ci/contextable.rb')
-rw-r--r-- | app/models/concerns/ci/contextable.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/concerns/ci/contextable.rb b/app/models/concerns/ci/contextable.rb index e1d5ce7f7d4..91dda803031 100644 --- a/app/models/concerns/ci/contextable.rb +++ b/app/models/concerns/ci/contextable.rb @@ -59,6 +59,7 @@ module Ci variables.append(key: 'CI', value: 'true') variables.append(key: 'GITLAB_CI', value: 'true') variables.append(key: 'GITLAB_FEATURES', value: project.licensed_features.join(',')) + variables.append(key: 'CI_SERVER_HOST', value: Gitlab.config.gitlab.host) variables.append(key: 'CI_SERVER_NAME', value: 'GitLab') variables.append(key: 'CI_SERVER_VERSION', value: Gitlab::VERSION) variables.append(key: 'CI_SERVER_VERSION_MAJOR', value: Gitlab.version_info.major.to_s) |