Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,462,673
Community Members
 
Community Events
176
Community Groups

Managing build numbers for multiple jobs of same stage

Hi

We have large code base that gets built in Bamboo. We typically make multiple builds: one for debug configuration and another for release configuration. After a build passes verification, it gets deployed to artifactory under a directory with build number (something like newyork/beta/3.2.5.1546 where 1546 is build number and newyork/beta is release code name).

Currently we have one job (in one stage) that makes a build for say debug configuration. Then we change a flag and start new build to make build for release configuration.

We are looking for ways to make both release and debug builds in one attempt. We can clone current job in the same stage. First job builds debug and 2nd one for release. The jobs can run in parallel which is great.

The challenge is how do I derive unique build numbers so that debug build can to its own folder on artifactory and release build of its own.

Lets say Bamboo environment gives me buildnumber is 10. Lets say I assign 10 to debug build and 11 for release build. Next time the plan runs, Bamboo will give me 11 instead of 12. 

We don't want to use same build number for both Debug and Release.

I appreciate recommendations for an elegant solution.

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events