Hi there,
In the pipeline config file, bitbucket-pipelines.yml, when adding variables to the pipeline, the standard syntax looks like this:
KEY1: 'keyvalue' # for a string
KEY2: $VARIABLE # for a variable
Is it possible to include a string and variable as the value? In programmatic-speak, can I concatenate the string and variable, like the pseudo-code below?
KEY3: 'some string: $SOME_VARIABLE'
If so, what's the proper syntax?
Thank you!
Nevermind! After some testing, the "pseudo-code" actually works. :-)
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.