Bamboo Versioning

bamboo, build-process, version-control, versioning

Solution

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

Problem

I have a situation where i need to maintain version information of my builds. By googling i found limited information. one way is to create a version file on source control and keep updating. other is to use the source control revision number. final one is to use bamboo build number. i haven't implemented anyone of this before. colud anyone point out the pros and cons of each method. Thank you, Reddy. Please atleast tell me which method have u used to implement the same. Thnq..

Original source