We need to add a label to build . The label we need is the version number of build .
This version information is stored in a file .
How can we achieve this: after every build it gets labelled using the version number specified in a properties file .
Hi @sangeeta
This article has the information you are looking for: How can I attribute a label to a Bamboo build result based on its outcome (success or failure)? You will just need to change the script a little to get the version details from your properties file.
Another path you could follow, probably simpler, would be printing the version information from your properties file during the build and using the method described in this other article: Configuring automatic labeling of job build results.
Please let us know if that addresses your issue.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.