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,360,965
Community Members
 
Community Events
168
Community Groups

Bamboo Specs Java Auto Decection

Is it possible to not deploy the specs via. maven and

let bamboo check the specs automatically from the repo?

Like its done with the yaml File ? 

Using Bamboo 6.7.1 and Bitbucket 5.15.0

1 answer

1 accepted

1 vote
Answer accepted

Yes.

  • Create folder bamboo-specs in repository root;
  • Create linked repository in Bamboo;
  • Enable Bamboo specs scan at Bamboo specs tab of repository
  • Click Scan button at Specs status tab of repository

So the java specs goes into the bamboo-specs folder 

What is the naming convention for this method?  The main file that Bamboo will sense?

Bamboo is looking for java classes with @BabmbooSpecs annotation and tries to run public static void main(String[]) method.

See output from mvn -Ppublish-specs 

Suggest an answer

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

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

310 views 0 7
Read article

Atlassian Community Events