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

YAML and Java Specs at once - what will be applied?

Michael October 27, 2022

Hi,

in a Git repo there are already YAML specs that get automatically published via Bamboo Specs Scan. These specs are doing a job related to the application code, but not building the app.

Now I'm creating new Java Specs to build and deploy the actual app code. These specs should not be deployed automatically but on demand by the developers.

Both Specs are stored now in the same directory. And I'm wondering which Specs will now be applied - Java, YAMl or both?

Is it possible to ensure, that the YAML Specs will be applied as before and the Java Specs will not be applied automatically?

2 answers

1 accepted

0 votes
Answer accepted
Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 27, 2022

Hello @Michael,

As stated on the Bamboo YAML Specs page:

Bamboo always looks for YAML Specs first. If it doesn't find YAML Specs, Bamboo tries to find and process Java Specs.

Best regards,

Eduardo Alvarenga
Atlassian Support APAC

--please don't forget to Accept the answer if the reply is helpful-- 

1 vote
Marcin Gardias
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 2, 2022

What you can do is to store your Java Specs in a location that Bamboo won't scan, i.e. in a folder _not_ named bamboo-specs.

You'll still be able to publish those specs running Maven (mvn -Ppublish-specs)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events