Bamboo Release Number using Variables

Ashraf Hussain February 20, 2020

Hi Support,

we have an app who uses their Release number in following format:  10.20.30.40, where 40 is the build#, 30 minor release#, 20 major release# and 10 the main application version. Now, when we use a ${bamboo.buildNumber} variable for the build, it works fine and also increments properly as expected with every subsequent build. Even the minor release# also gets increased automatically when it is a new release. Eg, a subsequent Build# will be: 10.20.30.41 and a subsequent release will be 10.20.31.41 …. but we wouldlike to have more granular control. So, do you think we could use a scheme such as: ${bamboo.appVerNumber}.${bamboo.majorRelNumber}.${bamboo.minorRelNumber}.${bamboo.buildNumber} after initializing the variables as appVerNumber=10, majorRelNumber=20, minorRelNumber=30 and buildNumber=40 in the aforementioned example?   Thank you.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events