Hello everyone. I'am trying to set deployment version from my custom variable. I see on the log that, the bamboo.deploy.version variable has been set as I need (using my custom value), but label is presentig different value.
My release versiong mask looks like:
release-11-${bamboo.variable.version}
What I am doing wrong?
Where do you set the variable? In order for it to be visible during version creation it needs to be set as one of the following:
- global variable
- plan variable of the plan deployment project is associated with
- result variable of the build result the version is created from
Setting it as deployment environment variable won't work, because the version is created first, then it is deployed to one or more environments.
That is the reason of problem - I was trying to inject variable value in deploy plan. I moved it to build plan and it works like charm - thank you.
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.