Welcome to the community!
Could you try to add echo on the variable before the steps that you use to call it to verify that pipeline is correctly showing the variable as the following example:
script: - echo "$API_URL"
This should create an echo output of the variable in the pipeline build where you can use to verify if the variable is correctly showing the output you configure as below example:
If it's not showing any echo output or the output is different from what you expected then the variable may be using a secure variable or you have a conflict variable that you may have configured in the deployment variable or the workspace variable.
I hope this helps.
Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events