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

Bamboo Specs Java Auto Decection

Stefan Wendelmann
Contributor
January 7, 2019

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
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 8, 2019

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
Stefan Wendelmann
Contributor
January 8, 2019

So the java specs goes into the bamboo-specs folder 

Jeff_Schaeffer March 6, 2019

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

Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 7, 2019

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
AUG Leaders

Atlassian Community Events