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,456,777
Community Members
 
Community Events
176
Community Groups

Does Bamboo Java spec have something like YAML's "!include"?

We are weighing Bamboo YAML against Bamboo Java specs.  We are looking for scalability features. There is a feature of YAML, "!include", that allows the inclusion of other files in the bamboo.yml file. This would help us manage a high volume of spec files.

Is there a similar feature in Bamboo Java Specs?

1 answer

That explains how to use !include in Yaml specs, but what I am asking is whether  I accomplish the same thing using the Java spec.  Since I am not a Java programmer, this may be a very naive question, but I am trying to figure out how to combine multiple build programs, connecting with different source code repos, in one Java Spec file.  

Oh, sorry I messed it up.

Regarding Java specs. First of all all files should be kept at same repo unless you want to deal with dependencies management using Maven\Artifactory.

In Java language you have concept of classes which are generally kept at different files and have access to each other.

So Java language is more scalable here, some of Atlassian teams use YAML Specs if they need to manage few plans, but if you need to manage 50+ plans then Java is more convenient tool. For example Jira dev team manages 4500+ plans at Java Specs.

Like # people like this

After a few hours with a Java basics book, I was thinking that external classes would be a key.  Thanks for the confirmation. 

I would love a chance to learn more about how teams approach this.  When are separate plans used, when are edits applied to spec files for a core plan, etc.  Are you aware of any resources you could point us toward that discusses organizing and running a 50+ plan program using Java Specs?

Thanks

I'm not aware of any external resources about organising of Specs code. Every team gradually evolves their codebase and follow approach which works best for them.

In Bamboo team we have combination of classes with plan config and utility classes for common operations like running test task, artifact definitions, docker images config etc.

Like Steffen Opel _Utoolity_ likes this

In case others are looking I did find this article about one approach.

https://yayimorphology.org/bamboo-specs-project-sharing.html

I am still struggling to completely understand it, but it is at least a pointer.

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events