'Unable to get inherited gitlab CI/CD variables

I would like to create a variable for all of my project located under a group. I create a variable in this group

enter image description here

I go under a subgroup and check for CI/CD vars of this subgroup and my var isn't present

enter image description here

As it is said in gitlab documentation:

Variables from subgroups are recursively inherited.

https://docs.gitlab.com/ee/ci/variables/

Which step did I miss ?



Solution 1:[1]

You can't see inherited variables in subgroup variables. But they can be seen in a project in a subgroup.

Solution 2:[2]

Under the section where you can define the variables for the project there is a section "Group variables (inherited)". Here you should find your variable.

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Christophe TAPPRET
Solution 2 danielnelz