You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I have a c# library which gets build and published to our package repository through a bamboo plan each time we update it in Bitbucket.
I have a plan level variable "version = 1.0.0".
I want to be able to update the value of this variable every time the plan runs. It should -
I have the task type - "Version Variable Incrementer" but there is not enough documentation(that I can find) on how to use that.
Please help. Thanks.
Hi Arpan! How are you doing?
We did something similar to this using the variable ${bamboo.buildNumber}.
You could still have a variable called version with value 1.0 and pass "${bamboo.version}.${bamboo.buildNumber}" as a parameter to your tasks.
As this value will be the same during the entire build, you can use this expression anywhere you want, so you would't have to care about passing it between tasks.
Hope this helps!
Cristiano
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.