Bamboo version

I have a situation where I need to maintain version information of my collections. By googling I found limited information. one way is to create a version file with the original control and update. another is to use the source control version number. the latter should use the bamboo assembly number. I have not yet implemented any of this. colud each indicates the pros and cons of each method.

Thanks, Reddy.

Please tell me which method you used to implement. Thnq ..

+7
version-control build-process versioning bamboo
source share
5 answers

Visit http://confluence.atlassian.com/display/BAMBOO011/1.2.1+Using+Custom+Variables for more information on bamboo variables. Remember to define the system property in your job configuration as follows: -DbambooBuildNumber=${bamboo.buildNumber} , then you can use this bambooBuildNumber property in the maven or ant configuration file.

+3
source share
Good question. I used to do this on purpose. I categorically do not adhere to this approach, but in any case, I have listed it for comparison with (I hope) the best approaches that others will soon publish.

To maintain version information in a medium-sized Java code environment, I created a simple class to store major, minor, and version versions as static constants and create a formatted version string. Then I created a perl script to check the class outside of version control, replace the version components with those specified as script arguments, and check it back.

The script does most of the work, so the version upgrade process is pretty simple and fast. I had to implement this quickly, so there are probably better ways to do this. I simply did not have the time or motivation to explore the best alternatives.

+1
source share

I'm not quite sure what your question is, but I assume you want to build numbers? When you create your project using Ant, you can use the BuildNumber task to track build numbers.

+1
source share

The following link is a pretty good article. If you can get all the plugins that work with the version of Bamboo you're on, everything should be fine.

Release management with Atlassian Bamboo (deprecated)

Release management with Atlassian Bamboo via the online archive

0
source share

you can use $ {bamboo.buildNumber} in ant

view the following thread http://forums.atlassian.com/thread.jspa?messageID=257319944

0
source share

All Articles