Why it’s not possible to use $VARIABLE inside url in include pipeline
I would like to generalize my pipelines, and in my architecture I would need to define an $URL variable at the gitlab instance level (or project level) and use it in my import.
Hi @AYDEV-FR
Nope, if it’s not implemented it can’t be done.
If the $URL should be the GitLab server, you can use the predefined variable CI_SERVER_URL
I don’t know. I guess you just have to wait until it gets higher on the backlog. If you have a paid subscription you can make it higher priority by contacting GitLab support.
With a small workaround (kudos to @dbogatov) this is also possible for variables defined in the global variables section of a .gitlab-ci.yml file itself, such as: