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,457,046
Community Members
 
Community Events
176
Community Groups

Bamboo java specs with common code in another repo and branching

Hi guys, I'm pretty new to bamboo specs here, so excuse any ignorance.

 

We have lots of plans in a single repo at the moment (40+) and from reading some of the specs documentation, it seems that there's an option to have the specs live in the same repo as the code that it's attempting to build.

E.g. my repo called myRepo could have a bamboo-specs directory within it, and that would be where the specs configuration live.

We're using java specs so naturally the question of reusable code came up, and I was wondering if it was possible to put the common code in it's own repo, and have the specs reference it.

I've seen others mention building jar files and being able to pull them down as dependencies, but I'm hoping that's not the only route as it's something I'd like to avoid.

Secondly, I saw mention that best practice is to have all the plans in one repo, however that was a while ago, and I'm wondering if this is still the case?

Finally, when pushing changes to our current single repo of bamboo specs we typically branch and then merge once someone has reviewed changes. A colleague mentioned that they've seen issues previously where changing the branch in bamboo to test changes to the specs has caused history to be lost among other things, and I was wondering what the recommended dev route is for creating java specs? I.e. is it expected that there will be a single master version, updated as required? Or should branching be viable in this case, but we're missing something fundamental?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events