I have a fairly simple pipeline where subproject_test is not a secret, but openshift_token_test is a secret.
steps:
- bash: |
echo "##vso[task.setvariable variable=project]$(subproject_test)"
echo "##vso[task.setvariable variable=openshift_token;issecret=true]$(openshift_token_test)"
displayName: Set test branch variables
- bash: |
echo ${PROJECT}
echo ${#OPENSHIFT_TOKEN}
displayName: Show vars
the output of Show vars always shows 0 as length of OPENSHIFT_TOKEN variable, while PROJECT variable shown correctly. I did try adding env and mapping secret to it - did not change anything.
