diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-20 00:08:32 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-20 00:08:32 +0300 |
commit | 60082b335c09b27ebee3452a36cc62eb76df3480 (patch) | |
tree | 8a34e789590856679bca7955cda7fda06e257590 /app/models | |
parent | ce493944f48fb2ad08a5381a7ed1f37ced637bd1 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/project.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index f46583d1d98..e63eac02dca 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -1925,6 +1925,7 @@ class Project < ApplicationRecord .append(key: 'CI_PROJECT_PATH', value: full_path) .append(key: 'CI_PROJECT_PATH_SLUG', value: full_path_slug) .append(key: 'CI_PROJECT_NAMESPACE', value: namespace.full_path) + .append(key: 'CI_PROJECT_ROOT_NAMESPACE', value: namespace.root_ancestor.path) .append(key: 'CI_PROJECT_URL', value: web_url) .append(key: 'CI_PROJECT_VISIBILITY', value: Gitlab::VisibilityLevel.string_level(visibility_level)) .append(key: 'CI_PROJECT_REPOSITORY_LANGUAGES', value: repository_languages.map(&:name).join(',').downcase) |