I know that we get can plan variables at bamboo task execution through taskContext. But how do we get those plan and environment variables at time of task creation?
I think you need to use Inject Bamboo Variables task to pass a value between stages.
The file should be in the following format:
variable1=value
variable2=value
Bamboo will then allow each variable to be accessed using the bamboo.inject. prefix followed by the key name.
Eg: bamboo.<namespace>.variable1 where "namespace" is a string defined in the task.
Let me know if this is what you are looking for.
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.