Allow dynamic stage and job names
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
GitLab is not able to accept the dynamic variable when it is configured for job name or for stage name while running pipeline manually.
suppose i have 2 stages, i am performing jobs for both the stages for 2 environment. But i have used the stages and job name as variable like. eg
stages:
- Deploy_$APPENV
deploy_on_APPENV_app: stage: Deploy\_APPENV
now I am assigning enviroment(like mnt or ete) for "APPENV" while executing pipeline manually. It takes the variable value, but it does not replace APPENV with variable value.please check the attachment
Workaround
Inputs can be used instead of environment variables (and environment variables can be used to populate inputs). See #28734 (comment 1710268361)