Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

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

3 votes
Answer accepted

Update: please see our knowledge base article for the updated workaround.

Also if you want to track the progress of our work on this suggestion watch/vote on BAM-10282.

 

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?

Thanks for this information @Krystian Brazulewicz  ; Please note that  Bamboo schema has changed since this post.

I  use Atlassian Bamboo version 6.8.1 .

I am describing what I did to achieve same effect with new schema I so it may save time for others .

The table that maintain build numbers in  newer versions of Bamboo is called "BUILD_NUMBERS" 

To make a determination  of per plan next build number corresponding to title or from plan key I used this join 

"select TITLE, FULL_KEY, BUILD.BUILD_ID , BUILD_NUMBERS.NEXT_BUILD_NUMBER from BUILD, BUILD_NUMBERS where BUILD_NUMBERS.BUILD_ID=BUILD.BUILD_ID;"

And then to update BUILD_NUMBERS - I ran following query 

UPDATE BUILD_NUMBERS SET NEXT_BUILD_NUMBER = <desired build number> WHERE  BUILD_ID =<plan id  for your plan that you figured from above query >

 

Like Daniel Santos likes this
Like yogesh_devi likes this

Suggest an answer

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

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

244 views 4 6
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