Can I edit the Bamboo build number?

Hi,

I am evaluating options for encoding the sprint/iteration no. into the 4th digit of our software version scheme.

Is there a way in Bamboo's plan configuration where I set the offset for the Bamboo build number before the next build starts?

Many thanks in advance!

Frank

 

2 answers

1 accepted

0 votes
Accepted answer

I'm not sure if I understood your question correctly, but if you're asking if you can change the "next build number" for a plan or branch then it only possible by direct DB manipulation:

UPDATE build SET next_build_number = X WHERE full_key = <your-plan-key>

warning Please make sure you create full DB backup before executing any manual modifications.

Thank you for the immediate answer. The SQL statement will do exactly what I was looking for, but I hoped this would also be supported in the Web-GUI, which is - as you write - obviously not the case.

Is this still the best way to do this?

 

I see some suggestion on the Internet that the build number cannot be lowered but must always be raised.

Is that true?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

32 views 2 1
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you