Environment name not recognized inside a trigger?
We have a job that switched over to using environment names in triggers. When we use the CI_ENVIRONMENT_SLUG
to pass it over to the other projects job it is always empty. Is there something special to using environments within a trigger?
variables:
CHART_NAMESPACE: $CI_ENVIRONMENT_SLUG
environment:
name: develop/$CI_COMMIT_REF_SLUG
on_stop: stop_review
auto_stop_in: 1 week
The variable CHART_NAMESPACE
is null when passed over to the other project.