inconsistent behaviour of FILE_TYPE CI variables

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

there seems to be an inconsistent behaviour of the File type CI variables.

for example consider we define a file type variable TOKEN=abc

then the following ci snippet

deploy:
  stage: deploy
  script:
    - echo value=$TOKEN
    - echo value=$TOKEN1
  variables:
    TOKEN1: $TOKEN

will result in something

value=/tmp/somerandomefile
value=abc

this is not an issue exactly, but it would be nice that this behaviour is documented.

Edited Jul 02, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading