Hi,
I'm trying to use variables in a pipeline but, even though they are defined and have a value defined, pipeline treats them as empty.
I'm using a mix of repository and deployment variables, of which here is the list:
Repository vars:
- EMAIL_PASSWORD_UNSECURE
- EMAIL_PASSWORD (secured var)
- EMAIL_HOST
Deployment vars:
Deployment vars do not display, where repository vars do.
Also, I tried to use the secured var EMAIL_PASSWORD var in a atlassian/email-notify:0.4.4 pipe but I always get an error, so I assume they are not interpreted well either.
Here's part of my pipeline
branches:
'*':
- step:
name: Test
script:
- echo $EMAIL_HOST # displays well
- echo $EMAIL_PASSWORD # displays well
- echo $EMAIL_PASSWORD_UNSECURE # can't be used in a pipe
- echo $EMAIL_SUBJECT # does not display
- echo $APP_URL # does not display
Thanks