It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Adding a label to build automatically

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 . 

1 answer

0 votes

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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

695 views 2 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you