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:
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.
G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...
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