G'day @Jason Legako
Based on your description you wish to use environment variables in your steps name?
If yes, that's an expected outcome because the name is supposed to be unique and used to describe the step. The environment variable is only available under Script, as it's used to specify a list of commands to be run.
I can't locate any existing Feature requests on this, so if you are interested, please let me know so I can raise one.
Cheers,
Syahrul
TYVM. I see, yeah raise a ticket imo, would be really important to be able to name which UI tests are running based on to/from branch.
So you're saying it HAS to be inside a script whereas the docs say it can be inside the file OR a script?
From the Docs: https://support.atlassian.com/bitbucket-cloud/docs/variables-and-secrets/
"You can access the variables from the bitbucket-pipelines.yml file or any script that you invoke by referring to them"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Jason Legako
Apologize for the confusion. The script I mention is in the YML configuration.
pipelines:
default:
- step:
script:
- <script>
With that said, I have raised a new feature request on behalf of you at:
BCLOUD-22425 - Ability to use variables in step name
Don't forget to Vote and Watch the feature request so that you'll receive an update whenever we have any in the future.
Cheers,
Syahrul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.